From c976e47115c8c908a2c0223612a0aa1b201ea13b Mon Sep 17 00:00:00 2001 From: dotCooCoo Date: Thu, 3 Dec 2026 10:09:29 -0800 Subject: [PATCH] Panels: hidden or minimized palette windows no longer block canvas drops A floating panel's OS window counted as covering the canvas even while it was minimized, or hidden because a dialog or popup was open. Art dragged onto the canvas and released over the spot where such a window sat was refused, and the tools treated the pointer there as covered. os_window_at now skips windows the OS reports minimized, and reports no cover while a dialog or popup is open. This works around storytold/craft-libs#4739; the checks are removed when the craft-libs pin includes that change. --- crates/ui-egui/src/panel_docking.rs | 15 ++++-- .../ui-egui/src/panel_docking/native_tests.rs | 48 +++++++++++++++++++ 2 files changed, 60 insertions(+), 3 deletions(-) diff --git a/crates/ui-egui/src/panel_docking.rs b/crates/ui-egui/src/panel_docking.rs index 1a47d5a7d2..4e7edbbfa7 100644 --- a/crates/ui-egui/src/panel_docking.rs +++ b/crates/ui-egui/src/panel_docking.rs @@ -1317,15 +1317,24 @@ fn window_viewport(app: &VectorcraftApp, panel: &str) -> Option