properties: Ctrl+1 reveals the panel and works over clean screen

PROPERTIES only flipped the visibility flag, so a Properties pallet in
an edge's inactive group or behind auto-hide stayed out of sight. It
now opens through the dock, which brings its group forward. In clean
screen the pallet shows on top without changing its normal state;
leaving clean screen drops that overlay.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 03:31:30 +03:00
1 parent 1ae118b1bb
commit 889e30019b
3 files changed
+19 -4

No files matched your search

+4 -1
View File
@@ -553,7 +553,10 @@ impl OpenCADStudio {
/// renderer applies before building each side's stack.
pub(crate) fn dock_panel_visible(&self, id: crate::ui::dock::PanelId) -> bool {
use crate::ui::dock::PanelId;
if self.tabs[self.active_tab].is_start || self.clean_screen {
if self.tabs[self.active_tab].is_start {
return false;
}
if self.clean_screen && !(id == PanelId::Properties && self.clean_screen_properties) {
return false;
}
match id {