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

Temporarily suppress Ortho mode during RECTANG commands
This commit is contained in:
Hakan Seven 2026-06-16 18:17:18 +03:00 • committed by GitHub
commit 1ab892c635
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 25 additions and 1 deletions

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 => {