Add back semi-funcitonal pane resizing code
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user