fix: release collapsed flyout before opening Draw tools

This commit is contained in:
ramox81 committed 2026-09-10 15:58:19 +03:00
1 parent 2b4d8fe046
commit 6b58717ce2
1 file changed
+3
+3
View File
@@ -340,6 +340,9 @@ impl Ribbon {
self.open_dropdown = None;
} else {
self.open_dropdown = Some(id.to_string());
if draw_panel::owns_dropdown(id) {
self.collapsed_open = None;
}
}
}
pub fn close_dropdown(&mut self) {