mirror of
https://github.com/danbulant/cushy
synced 2026-07-06 19:50:40 +00:00
Fixing Input selection to the left of the input
This commit is contained in:
parent
ca58cb5fcf
commit
92249047ce
1 changed files with 3 additions and 0 deletions
|
|
@ -686,6 +686,9 @@ where
|
||||||
if location.y < 0 {
|
if location.y < 0 {
|
||||||
location.y = Px::ZERO;
|
location.y = Px::ZERO;
|
||||||
}
|
}
|
||||||
|
if location.x < 0 {
|
||||||
|
location.x = Px::ZERO;
|
||||||
|
}
|
||||||
|
|
||||||
let mut closest: Option<(Cursor, i32)> = None;
|
let mut closest: Option<(Cursor, i32)> = None;
|
||||||
let mut current_line = usize::MAX;
|
let mut current_line = usize::MAX;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue