forked from 1b-agent/opencadstudio-upstream
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:
1 parent
1ae118b1bb
commit
889e30019b
3 files changed
+19
-4
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user