mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-07 07:35:44 -05:00
fix: clear part selection highlight when leaving lead-in action
ActionLeadIn.DisconnectEvents() nulled selectedLayoutPart without first setting IsSelected = false, leaving the part permanently rendered in the selection color (transparent blue) after switching actions. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
1 parent
301831e096
commit
943c262ad2
1 file changed
+3
@@ -65,6 +65,9 @@ namespace OpenNest.Actions
|
||||
contextMenu?.Dispose();
|
||||
contextMenu = null;
|
||||
|
||||
if (selectedLayoutPart != null)
|
||||
selectedLayoutPart.IsSelected = false;
|
||||
|
||||
selectedLayoutPart = null;
|
||||
selectedPart = null;
|
||||
profile = null;
|
||||
|
||||
Reference in new issue
Block a user