forked from 1b-agent/opencadstudio-upstream
Properties: open a dropdown only on the surface that asked (#1766)
The docked panel and Quick Properties render the same rows from one state, so a picked colour opened both dropdowns and each swallowed the other's click. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
1037be2d53
commit
a156a63edd
3 files changed
+62
-18
No files matched your search
@@ -7856,6 +7856,13 @@ impl OpenCADStudio {
|
||||
Task::none()
|
||||
}
|
||||
|
||||
Message::PropPickerSurface(quick, message) => {
|
||||
let task = self.update(*message);
|
||||
let i = self.active_tab;
|
||||
self.tabs[i].properties.picker_in_quick = quick;
|
||||
task
|
||||
}
|
||||
|
||||
Message::PropColorPickerToggle => {
|
||||
let i = self.active_tab;
|
||||
self.tabs[i].properties.color_picker_open =
|
||||
|
||||
Reference in new issue
Block a user