mirror of
https://github.com/feschber/lan-mouse.git
synced 2026-04-19 22:53:19 +03:00
fix scrolling factor in xdp emulation
This commit is contained in:
@@ -83,7 +83,7 @@ impl<'a> InputEmulation for DesktopPortalEmulation<'a> {
|
|||||||
_ => Axis::Horizontal,
|
_ => Axis::Horizontal,
|
||||||
};
|
};
|
||||||
self.proxy
|
self.proxy
|
||||||
.notify_pointer_axis_discrete(&self.session, axis, value)
|
.notify_pointer_axis_discrete(&self.session, axis, value / 120)
|
||||||
.await?;
|
.await?;
|
||||||
}
|
}
|
||||||
PointerEvent::Axis {
|
PointerEvent::Axis {
|
||||||
|
|||||||
Reference in New Issue
Block a user