fix(ui): refine empty drawing state

Show drawing defaults when nothing is selected and disable layout controls on Start.

Refs #514
Refs #515
This commit is contained in:
Hakan Seven committed 2026-07-27 17:37:17 +03:00
1 parent 759f2316aa
commit 4a30928f5a
8 files changed
+341 -57

No files matched your search

+5 -1
View File
@@ -343,7 +343,11 @@ impl PropertiesPanel {
// into one clickable summary row; clicking expands the components.
let mut idx = 0;
while idx < section.props.len() {
let group_len = coord_group_len(&section.props, idx);
let group_len = if section.title == "View" {
0
} else {
coord_group_len(&section.props, idx)
};
if group_len >= 2 {
let base = coord_base(&section.props[idx].label);
let key = format!("{}:{}", section.title, base);