1
0
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:
Dydzio
2025-03-09 11:04:20 +01:00
parent c216936a59
commit 4003ee7c70

View File

@@ -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);
}