From 99e4ba3a728791fd2f85be8e5159395132d85735 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Kaan=20G=C3=BCm=C3=BC=C5=9F?= Date: Mon, 10 Aug 2026 12:07:13 +0300 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20fix(ui):=20a=20drop=20respects?= =?UTF-8?q?=20every=20modal=20card=20and=20a=20loaded=20project=20clears?= =?UTF-8?q?=20clip-card=20state?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- crates/app/src/main.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/crates/app/src/main.rs b/crates/app/src/main.rs index 6dabdc3..78c12f2 100644 --- a/crates/app/src/main.rs +++ b/crates/app/src/main.rs @@ -1071,8 +1071,11 @@ impl Player { self.selected = None; // A menu can be up while a project is dropped on the window -- // the scrim swallows clicks, never a drop -- and its index - // would name some other timeline's clip. + // would name some other timeline's clip. The two clip cards + // hold a (lane, idx) of the old timeline for the same reason. self.context_menu = None; + self.eq_open = None; + self.color_open = None; // A different set of sources: the row that was picked is not // the file that index names any more. self.selected_asset = None; @@ -1575,7 +1578,7 @@ impl Render for Player { // sibling it can stop. The export card is over the timeline for // the same reason: importing under it would change the very // edit list the card is about to write out. - if this.keys_open || this.export_open || this.eq_open.is_some() { + if this.modal() { return; } for path in paths.paths() {