fix(layers): preserve true colors

Closes #587
This commit is contained in:
Hakan Seven 2026-07-30 16:48:14 +03:00
commit 1b1d9af2d5
5 changed files with 16 additions and 69 deletions

View file

@ -64,7 +64,7 @@ impl OpenCADStudio {
.iter()
.map(|l| crate::ui::ribbon::LayerInfo {
name: l.name.clone(),
color: l.color,
color: crate::ui::window::layers::iced_color_from_acad(&l.color),
visible: l.visible,
frozen: l.frozen,
locked: l.locked,