Add back semi-funcitonal pane resizing code

This commit is contained in:
Mikayla 2023-12-08 16:29:42 -08:00
parent 25df11dd26
commit fd34d1da31
No known key found for this signature in database
10 changed files with 299 additions and 108 deletions

View file

@ -253,7 +253,7 @@ impl TextState {
}
fn index_for_position(&self, bounds: Bounds<Pixels>, position: Point<Pixels>) -> Option<usize> {
if !bounds.contains_point(&position) {
if !bounds.contains(&position) {
return None;
}