Skip to content

Commit

Permalink
mouse speed indicator's sensitivity better matches NohBoard's
Browse files Browse the repository at this point in the history
  • Loading branch information
justDeeevin committed May 10, 2024
1 parent fda0006 commit 1fde6e6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/ui/canvas.rs
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ macro_rules! draw_speed_indicator {
$self.mouse_velocity.1.atan2($self.mouse_velocity.0),
);
let squashed_magnitude =
($self.settings.mouse_sensitivity * 0.000001 * polar_velocity.0)
($self.settings.mouse_sensitivity * 0.000005 * polar_velocity.0)
.tanh();
let ball = Path::circle(
iced::Point {
Expand Down

0 comments on commit 1fde6e6

Please sign in to comment.