[TextExtractor] Fix redundant screen select after mouse right click (#20271)

This commit is contained in:
Taras
2022-09-20 19:48:32 +03:00
committed by GitHub
parent 5a7985f791
commit 3984ee79bf

View File

@@ -115,7 +115,6 @@ public partial class OCROverlay : Window
return; return;
} }
IsSelecting = true;
RegionClickCanvas.CaptureMouse(); RegionClickCanvas.CaptureMouse();
CursorClipper.ClipCursor(this); CursorClipper.ClipCursor(this);
@@ -150,6 +149,8 @@ public partial class OCROverlay : Window
break; break;
} }
} }
IsSelecting = true;
} }
private void RegionClickCanvas_MouseMove(object sender, MouseEventArgs e) private void RegionClickCanvas_MouseMove(object sender, MouseEventArgs e)