Skip to content

Commit

Permalink
Rename fileDropEnabled to dragDropEnabled per Tauri V2 config change
Browse files Browse the repository at this point in the history
  • Loading branch information
Nicholas Sidwell committed Feb 14, 2025
1 parent 2f2f97f commit 71a368b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion clients/web/src/lib/console/fixtures/monitor-data.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4965,7 +4965,7 @@ export const fakeMonitorData: any = {
{
label: "main",
url: "index.html",
fileDropEnabled: true,
dragDropEnabled: true,
center: false,
width: 800,
height: 600,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export const tauriConfigSchemaV2 = z
])
.describe("The user agent for the webview")
.optional(),
fileDropEnabled: z
dragDropEnabled: z
.boolean()
.describe(
"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.",
Expand Down
2 changes: 1 addition & 1 deletion clients/web/src/lib/tauri/config/tauri-conf-schema-v2.json
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@
"description": "The user agent for the webview",
"type": ["string", "null"]
},
"fileDropEnabled": {
"dragDropEnabled": {
"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.",
"default": true,
"type": "boolean"
Expand Down

0 comments on commit 71a368b

Please sign in to comment.