Add back semi-funcitonal pane resizing code
This commit is contained in:
parent
25df11dd26
commit
fd34d1da31
10 changed files with 299 additions and 108 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue