Merge pull request #1795 from MarcelP102/Select-Color-Redesign

[UX] Select Color redesign and feature parity

Co-Authored-By: Claude Opus 5.5 <[email protected]>
This commit is contained in:
Hakan SevenandClaude Opus 5.5 committed 2026-10-15 00:21:10 +03:00
commit 843cbcd607
56 files changed
+4716 -606

No files matched your search

+6
View File
@@ -322,6 +322,12 @@ pub fn apply_color(entity: &mut EntityType, color: AcadColor) {
common.color_book_handle = None;
}
/// Like [`apply_color`], but keeps a colour-book identity (`BOOK$NAME`).
pub fn apply_named_color(entity: &mut EntityType, color: AcadColor, name: Option<String>) {
apply_color(entity, color);
entity.common_mut().color_name = name;
}
pub fn apply_line_weight(entity: &mut EntityType, lw: LineWeight) {
entity.as_entity_mut().set_line_weight(lw);
}