Merge pull request #105 from KarimJerbi/rectang-suppress-ortho

Temporarily suppress Ortho mode during RECTANG commands
This commit is contained in:
Hakan Seven authored and GitHub committed 2026-06-16 18:17:18 +03:00
commit 1ab892c635
4 files changed
+25 -1

No files matched your search

+4
View File
@@ -4120,6 +4120,10 @@ impl OpenCADStudio {
if self.ortho_mode {
self.polar_mode = false;
}
// If the user manually toggles ortho during a command that
// suppressed it (e.g. RECTANG), the toggle is permanent —
// don't restore the pre-command state when the command ends.
self.rect_suppressed_ortho = false;
Task::none()
}
Message::ToggleLineweightDisplay => {