Fix sciter build on MacOS

c86a8fff034c7dd3b3ddf4f33d69eaee5c3538b0 accidentally duplicated that part of the code from send_mouse. Removing it.
This commit is contained in:
Bob Weinand 2023-07-25 22:12:50 +02:00 committed by GitHub
parent eb8b264b18
commit 20b39c7215
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));
}