forked from 1b-agent/opencadstudio-upstream
feat(dock): stacked edge rendering and drag-to-reorder preview
This commit is contained in:
1 parent
10a1d89f19
commit
7bfb617745
8 files changed
+326
-448
No files matched your search
@@ -553,11 +553,6 @@ impl OpenCADStudio {
|
||||
section: self.start_section,
|
||||
},
|
||||
statusbar: self.statusbar_config.clone(),
|
||||
properties: crate::app::config::PropertiesDockConfig {
|
||||
side: self.properties_side,
|
||||
width: self.properties_width,
|
||||
auto_collapse: self.properties_auto_collapse,
|
||||
},
|
||||
dock: {
|
||||
let mut dock = self.dock.clone();
|
||||
dock.ensure_settings();
|
||||
@@ -600,13 +595,6 @@ impl OpenCADStudio {
|
||||
// (`refresh_recent_thumbs`) — never here on the boot path.
|
||||
self.start_section = cfg.start.section;
|
||||
self.statusbar_config = cfg.statusbar;
|
||||
self.properties_side = cfg.properties.side;
|
||||
self.properties_width = if cfg.properties.width.is_finite() {
|
||||
cfg.properties.width.clamp(220.0, 600.0)
|
||||
} else {
|
||||
250.0
|
||||
};
|
||||
self.properties_auto_collapse = cfg.properties.auto_collapse;
|
||||
let mut dock = cfg.dock;
|
||||
dock.ensure_settings();
|
||||
self.dock = dock;
|
||||
|
||||
Reference in new issue
Block a user