mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-23 22:37:55 +02:00
Change scroll direction for horizontal slider (matches HD mod)
This commit is contained in:
@@ -27,9 +27,6 @@ void Scrollable::gesture(bool on, const Point & initialPosition, const Point & f
|
||||
|
||||
void Scrollable::wheelScrolled(int distance)
|
||||
{
|
||||
if (orientation == Orientation::HORIZONTAL)
|
||||
scrollBy(distance * scrollStep);
|
||||
else
|
||||
scrollBy(-distance * scrollStep);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user