Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
feschber committed May 12, 2024
1 parent 5802a0b commit 60180d8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/emulate/wlroots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit 60180d8

Please sign in to comment.