1
1
mirror of https://github.com/wez/wezterm.git synced 2024-12-25 14:22:37 +03:00

Fixed: Middle mouse drag MacOS

Added event selector to objc class for the otherMouseDragged event.
This commit is contained in:
Jacob Malloy 2023-06-28 16:14:43 -04:00 committed by Wez Furlong
parent dbed5017f8
commit 6154cf21c4

View File

@ -3064,6 +3064,10 @@ impl WindowView {
sel!(rightMouseUp:),
Self::right_mouse_up as extern "C" fn(&mut Object, Sel, id),
);
cls.add_method(
sel!(otherMouseDragged:),
Self::mouse_moved_or_dragged as extern "C" fn(&mut Object, Sel, id),
);
cls.add_method(
sel!(otherMouseDown:),
Self::other_mouse_down as extern "C" fn(&mut Object, Sel, id),