forked from 1b-agent/opencadstudio-upstream
fix(mtext): sync wrap width ruler
This commit is contained in:
1 parent
325cd2474c
commit
325beaea44
5 files changed
+109
-45
No files matched your search
@@ -3064,6 +3064,13 @@ impl OpenCADStudio {
|
||||
self.rebuild_mtext_preview();
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextRectWidth(width) => {
|
||||
if let Some(ed) = self.mtext_editor.as_mut() {
|
||||
ed.rect_width = width.max(1e-6);
|
||||
}
|
||||
self.rebuild_mtext_preview();
|
||||
Task::none()
|
||||
}
|
||||
Message::MTextColorChanged(color) => {
|
||||
self.mtext_apply_color(color);
|
||||
Task::none()
|
||||
|
||||
Reference in new issue
Block a user