commit
f72eed064a
@ -2025,13 +2025,6 @@ pub fn send_pointer_device_event(
|
||||
if command {
|
||||
evt.modifiers.push(ControlKey::Meta.into());
|
||||
}
|
||||
#[cfg(all(target_os = "macos", not(feature = "flutter")))]
|
||||
if check_scroll_on_mac(mask, x, y) {
|
||||
let factor = 3;
|
||||
mouse_event.mask = crate::input::MOUSE_TYPE_TRACKPAD;
|
||||
mouse_event.x *= factor;
|
||||
mouse_event.y *= factor;
|
||||
}
|
||||
msg_out.set_pointer_device_event(evt);
|
||||
interface.send(Data::Message(msg_out));
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user