Better pane panning
This commit is contained in:
parent
12a51b27eb
commit
9690c2172d
1 changed files with 0 additions and 1 deletions
|
|
@ -89,7 +89,6 @@ impl Element for Panes {
|
|||
Some(Action::Mouse(_, pos, _)) => {
|
||||
for (i, pane) in self.panes.iter_mut().enumerate() {
|
||||
if pane.last_area.contains(pos).is_some() {
|
||||
self.selected = i;
|
||||
match &mut pane.kind {
|
||||
PaneKind::Doc(doc) => return doc.handle(state, event),
|
||||
PaneKind::Empty => {}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue