Send mouse move messages when mouse is down (mac)
The mouseDragged method is called instead of mouseMoved when the mouse
is down.
See
@@ -214,6 +214,10 @@ lazy_static! {
sel!(mouseMoved:),
mouse_move as extern "C" fn(&mut Object, Sel, id),
);
+ decl.add_method(
+ sel!(mouseDragged:),
+ mouse_move as extern "C" fn(&mut Object, Sel, id),
+ );
decl.add_method(
sel!(scrollWheel:),
scroll_wheel as extern "C" fn(&mut Object, Sel, id),
