forked from 1b-agent/opencadstudio-upstream
PDF dialogs: one-line file details, only existing layers toggle
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
1 parent
913c845f5b
commit
647a05e37a
2 files changed
+13
-4
No files matched your search
@@ -306,7 +306,9 @@ impl OpenCADStudio {
|
||||
Some(at) => {
|
||||
t.hidden.remove(at);
|
||||
}
|
||||
None => t.hidden.push(layer),
|
||||
// Only a layer the file has can be turned off.
|
||||
None if t.layers.contains(&layer) => t.hidden.push(layer),
|
||||
None => {}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user