vertical scroll for horizontal only taks effect when there's no horizontal scroll
Fix
@@ -747,7 +747,7 @@ pub fn handle_scroll(
if !ctx.is_handled() {
if let Event::Wheel(mouse) = event {
let mut delta = mouse.wheel_delta.round();
- if self.vertical_scroll_for_horizontal {
+ if self.vertical_scroll_for_horizontal && delta.x == 0.0 {
delta.x = delta.y;
}
if port.pan_by(delta) {}
