fix formatting

This commit is contained in:
Ferdinand Schober
2024-05-12 15:50:03 +02:00
parent 5802a0be0b
commit 60180d841c

View File

@@ -182,7 +182,8 @@ impl VirtualInput {
}
PointerEvent::AxisDiscrete120 { axis, value } => {
let axis: Axis = (axis as u32).try_into()?;
self.pointer.axis_discrete(0, axis, value as f64 / 6., value / 120);
self.pointer
.axis_discrete(0, axis, value as f64 / 6., value / 120);
self.pointer.frame();
}
PointerEvent::Frame {} => self.pointer.frame(),