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

-4
View File
@@ -67,10 +67,6 @@ pub fn build_cache(document: &CadDocument) -> ObjectDataCache {
}
}
pub fn cached_document_sections(cache: &ObjectDataCache) -> Vec<PropSection> {
cache.document_sections.as_ref().clone()
}
pub fn cache_is_prepared(cache: &ObjectDataCache) -> bool {
!cache.document_sections.is_empty()
}