mirror of
https://github.com/vcmi/vcmi.git
synced 2025-06-25 00:37:24 +02:00
Implemented panning/swiping gesture for sliders
This commit is contained in:
@ -64,10 +64,8 @@ void MapViewActions::mouseMoved(const Point & cursorPosition)
|
||||
handleHover(cursorPosition);
|
||||
}
|
||||
|
||||
void MapViewActions::wheelScrolled(int distance, bool inside)
|
||||
void MapViewActions::wheelScrolled(int distance)
|
||||
{
|
||||
if (!inside)
|
||||
return;
|
||||
adventureInt->hotkeyZoom(distance);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user