Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
danipen authored Jan 8, 2024
2 parents 57a2cd8 + 09b0c9a commit ed6bada
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AvaloniaEdit/Editing/SelectionMouseHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@ private void ExtendSelectionToMouse(PointerEventArgs e)
TextArea.Caret.Offset = newWord.Offset < _startWord.Offset ? newWord.Offset : Math.Max(newWord.EndOffset, _startWord.EndOffset);
}
}
TextArea.Caret.BringCaretToView(0);
TextArea.Caret.BringCaretToView(5.0);
}
#endregion

Expand Down

0 comments on commit ed6bada

Please sign in to comment.