Compare commits

...

1 Commits

Author SHA1 Message Date
Ferdinand Schober
24ce5803d5 Partially Revert "slow scrolling chrome with emulation=wlroots capture=layer-shell (#318) (#325)"
The division by 120 was correct.
2025-10-27 14:27:04 +01:00

View File

@@ -210,7 +210,7 @@ impl VirtualInput {
PointerEvent::AxisDiscrete120 { axis, value } => {
let axis: Axis = (axis as u32).try_into()?;
self.pointer
.axis_discrete(now, axis, value as f64 / 8., value);
.axis_discrete(now, axis, value as f64 / 8., value / 120);
self.pointer.axis_source(AxisSource::Wheel);
self.pointer.frame();
}