fix(mleader): use lineweight choices

Replace the raw sentinel input with typed CAD lineweight options so special
values display correctly and unsupported values cannot be entered.

Refs #522
This commit is contained in:
Hakan Seven 2026-07-27 18:09:28 +03:00
commit a3538ddc45
5 changed files with 26 additions and 11 deletions

View file

@ -393,7 +393,6 @@ impl OpenCADStudio {
line_color: &self.mls_line_color,
text_color: &self.mls_text_color,
description: &self.mls_description,
line_weight: &self.mls_line_weight,
align_space: &self.mls_align_space,
block_color: &self.mls_block_color,
block_rotation: &self.mls_block_rotation,