mirror of
https://github.com/wez/wezterm.git
synced 2024-12-24 22:01:47 +03:00
Fixed: Middle mouse drag MacOS
Added event selector to objc class for the otherMouseDragged event.
This commit is contained in:
parent
dbed5017f8
commit
6154cf21c4
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user