Skip to content

Commit 71a368b

Browse files
author
Nicholas Sidwell
committed
Rename fileDropEnabled to dragDropEnabled per Tauri V2 config change
1 parent 2f2f97f commit 71a368b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

clients/web/src/lib/console/fixtures/monitor-data.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4965,7 +4965,7 @@ export const fakeMonitorData: any = {
49654965
{
49664966
label: "main",
49674967
url: "index.html",
4968-
fileDropEnabled: true,
4968+
dragDropEnabled: true,
49694969
center: false,
49704970
width: 800,
49714971
height: 600,

clients/web/src/lib/tauri/config/tauri-conf-schema-v2-zod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export const tauriConfigSchemaV2 = z
8080
])
8181
.describe("The user agent for the webview")
8282
.optional(),
83-
fileDropEnabled: z
83+
dragDropEnabled: z
8484
.boolean()
8585
.describe(
8686
"Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows.",

clients/web/src/lib/tauri/config/tauri-conf-schema-v2.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -207,7 +207,7 @@
207207
"description": "The user agent for the webview",
208208
"type": ["string", "null"]
209209
},
210-
"fileDropEnabled": {
210+
"dragDropEnabled": {
211211
"description": "Whether the file drop is enabled or not on the webview. By default it is enabled.\n\nDisabling it is required to use drag and drop on the frontend on Windows.",
212212
"default": true,
213213
"type": "boolean"

0 commit comments

Comments
 (0)