small improvements

This commit is contained in:
Oleksandr Bezdieniezhnykh
2025-08-14 04:43:08 +03:00
parent 61c93e9c88
commit 55d8a5cb85
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -346,6 +346,7 @@ public class CanvasEditor : Canvas
_lastPos = e.GetPosition(this);
_curRec = (Rectangle)sender;
_curAnn = (DetectionControl)((Grid)_curRec.Parent).Parent;
(sender as UIElement)?.CaptureMouse();
e.Handled = true;
}