forked from 1b-agent/opencadstudio-upstream
PDF underlays: attach dialog with pages, underlay tab, layers, import settings and file import, unload on the definition
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
0c50013ca7
commit
3f6bdf8c59
57 files changed
+5049
-365
No files matched your search
@@ -420,7 +420,15 @@ impl PropertyEditable for Underlay {
|
||||
ro(t!("Saved Path").as_ref(), "ul_path", String::new()),
|
||||
yes_no(t!("Show underlay").as_ref(), "ul_on", show),
|
||||
yes_no(t!("Show clipped").as_ref(), "ul_clip", clipping),
|
||||
ro(t!("Layer display overrides").as_ref(), "ul_layers", t!("None").into_owned()),
|
||||
ro(
|
||||
t!("Layer display overrides").as_ref(),
|
||||
"ul_layers",
|
||||
if crate::scene::model::pdf_layers::hidden_layers(self).is_empty() {
|
||||
t!("None").into_owned()
|
||||
} else {
|
||||
t!("Applied").into_owned()
|
||||
},
|
||||
),
|
||||
],
|
||||
},
|
||||
]
|
||||
|
||||
Reference in new issue
Block a user