fix: update CSP to allow reordering rooms inside space (#579)

* fix: update CSP to allow reordering rooms inside space

Fixes https://github.com/cinnyapp/cinny/issues/2949

* disable native dnd in windows configuration

* Disable drag and drop for main webview window in lib.rs

* Remove dragDropEnabled setting from tauri.conf.json

* Replace drag_drop_enabled with disable_drag_drop_handler
This commit is contained in:
Krishan
2026-05-23 21:52:14 +10:00
committed by GitHub
parent 8b7bced138
commit 2b61520524
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -37,6 +37,7 @@ pub fn run() {
let app_handle = app.handle().clone();
WebviewWindowBuilder::new(app, "main".to_string(), window_url)
.title("Cinny")
.disable_drag_drop_handler()
.on_new_window(move |url, _features| {
let _ = app_handle.opener().open_url(url.as_str(), None::<&str>);
NewWindowResponse::Deny