Fixing Input selection to the left of the input

This commit is contained in:
Jonathan Johnson 2023-11-19 15:46:52 -08:00
parent ca58cb5fcf
commit 92249047ce
No known key found for this signature in database
GPG key ID: A66D6A34D6620579

View file

@ -686,6 +686,9 @@ where
if location.y < 0 {
location.y = Px::ZERO;
}
if location.x < 0 {
location.x = Px::ZERO;
}
let mut closest: Option<(Cursor, i32)> = None;
let mut current_line = usize::MAX;