forked from 1b-agent/opencadstudio-upstream
fix: release collapsed flyout before opening Draw tools
This commit is contained in:
1 parent
2b4d8fe046
commit
6b58717ce2
1 file changed
+3
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user