Skip to content

Commit

Permalink
[TextExtractor] Fix redundant screen select after mouse right click (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
taras-janea committed Sep 20, 2022
1 parent 5a7985f commit 3984ee7
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/modules/PowerOCR/PowerOCR/OCROverlay.xaml.cs
Expand Up @@ -115,7 +115,6 @@ private void RegionClickCanvas_MouseDown(object sender, MouseButtonEventArgs e)
return;
}

IsSelecting = true;
RegionClickCanvas.CaptureMouse();

CursorClipper.ClipCursor(this);
Expand Down Expand Up @@ -150,6 +149,8 @@ private void RegionClickCanvas_MouseDown(object sender, MouseButtonEventArgs e)
break;
}
}

IsSelecting = true;
}

private void RegionClickCanvas_MouseMove(object sender, MouseEventArgs e)
Expand Down

0 comments on commit 3984ee7

Please sign in to comment.