Skip to content

Commit

Permalink
fix jump when clicking on word border
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJoeFin committed Aug 25, 2024
1 parent f545abc commit d4f8051
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Text-Grab/Controls/ZoomBorder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,6 +138,9 @@ void Child_PreviewMouseRightButtonDown(object sender, MouseButtonEventArgs e)

private void Child_MouseMove(object sender, MouseEventArgs e)
{
if (e.OriginalSource is TextBox)
return;

if (child is null
|| GetScaleTransform(child) is not ScaleTransform st
|| st.ScaleX == 1.0
Expand Down

0 comments on commit d4f8051

Please sign in to comment.