From 9afb1ebf551e651ec6f457d3b4db34dadfbbd586 Mon Sep 17 00:00:00 2001 From: bflatastic Date: Mon, 23 Nov 2026 14:06:14 +0700 Subject: [PATCH] ui-panels: the grip trial reads GroupGripOutput::drag_started as the bool next's grip reports --- crates/ui-panels/src/docking/iconic/trials.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/crates/ui-panels/src/docking/iconic/trials.rs b/crates/ui-panels/src/docking/iconic/trials.rs index a078de134..12bbcfb5e 100644 --- a/crates/ui-panels/src/docking/iconic/trials.rs +++ b/crates/ui-panels/src/docking/iconic/trials.rs @@ -165,7 +165,7 @@ impl Flyouts { groups.borrow_mut().push((panel, rect)); let strip = Rect::from_min_size(rect.min, Vec2::new(rect.width(), STRIP.min(rect.height()))); let grip = GroupGrip::new(DragUnit::Group(panel), PanelKey::of(&panel)).show_at(ui, strip); - dragged.set(dragged.get() || grip.drag_started.is_some()); + dragged.set(dragged.get() || grip.drag_started); None }); // A flyout closed this pass still shows its group while it fades out: the open panel's group is the one.