mirror of
https://github.com/beefytech/Beef.git
synced 2025-06-08 11:38:21 +02:00
Fixed horz mouse wheel scrolling direction
This commit is contained in:
parent
5e2f036918
commit
4af432955e
1 changed files with 2 additions and 2 deletions
|
@ -237,8 +237,8 @@ namespace Beefy.widgets
|
|||
return;
|
||||
}
|
||||
|
||||
float delta = (mOrientation == .Horz) ? deltaX : deltaY;
|
||||
Scroll(GetScrollIncrement() * -delta);
|
||||
float delta = (mOrientation == .Horz) ? deltaX : -deltaY;
|
||||
Scroll(GetScrollIncrement() * delta);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue