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 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-14 12:34:16 +03:00
1 parent 1037be2d53
commit a156a63edd
3 files changed
+62 -18

No files matched your search

+7
View File
@@ -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 =