Skip to content

Commit

Permalink
Fix panel resize (#3707)
Browse files Browse the repository at this point in the history
* [x] Reposition right dock handle
* [x] Handle mouse events correctly for drag and drop
* [x] Prevent drag events from passing through the resize handle to the
draggable items in the panels (channels, files)
* [x] Stop the editor gutter from stealing mouse move events
  • Loading branch information
maxbrunsfeld authored Dec 19, 2023
2 parents 3e6b84a + e655d24 commit b797cd3
Show file tree
Hide file tree
Showing 5 changed files with 544 additions and 529 deletions.
2 changes: 0 additions & 2 deletions crates/editor2/src/element.rs
Original file line number Diff line number Diff line change
Expand Up @@ -564,8 +564,6 @@ impl EditorElement {
);
}
}

cx.stop_propagation();
} else {
update_go_to_definition_link(editor, None, modifiers.command, modifiers.shift, cx);
hover_at(editor, None, cx);
Expand Down
Loading

0 comments on commit b797cd3

Please sign in to comment.