Skip to content

Commit

Permalink
fix: scrollable direction
Browse files Browse the repository at this point in the history
  • Loading branch information
wash2 committed Oct 18, 2024
1 parent 79e74f5 commit 0723735
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion widget/src/scrollable.rs
Original file line number Diff line number Diff line change
Expand Up @@ -818,7 +818,7 @@ where
// TODO: Configurable speed/friction (?)
Vector::new(x, y) * 60.
}
mouse::ScrollDelta::Pixels { x, y } => -Vector::new(x, y),
mouse::ScrollDelta::Pixels { x, y } => Vector::new(x, y),
};

let is_shift_pressed = state.keyboard_modifiers.shift();
Expand Down

0 comments on commit 0723735

Please sign in to comment.