forked from 1b-agent/opencadstudio-upstream
fix(color): show color book identity
This commit is contained in:
1 parent
7ea4f338f6
commit
6d6defa0ad
19 files changed
+142
-30
No files matched your search
@@ -128,6 +128,8 @@ impl OpenCADStudio {
|
||||
if let Some(l) = self.tabs[i].scene.document.layers.get_mut(&layer_name)
|
||||
{
|
||||
l.color = acadrust::types::Color::from_index(idx);
|
||||
l.color_name = None;
|
||||
l.book_name = None;
|
||||
self.push_undo_snapshot(i, "LAYER COLOR");
|
||||
self.tabs[i].dirty = true;
|
||||
// By-layer colour is baked into every wire on
|
||||
|
||||
Reference in new issue
Block a user