Skip to content

Commit

Permalink
Merge pull request #361 from euphemism/main
Browse files Browse the repository at this point in the history
Rename fileDropEnabled to dragDropEnabled per Tauri V2 config change
  • Loading branch information
lucasfernog-crabnebula authored Feb 14, 2025
2 parents 2f2f97f + 71a368b commit 804a4ff
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 804a4ff

Please sign in to comment.