mirror of
https://github.com/vcmi/vcmi.git
synced 2025-09-16 09:26:28 +02:00
Fix zooming with keyboard shortcuts
This commit is contained in:
@@ -886,9 +886,9 @@ void AdventureMapInterface::hotkeySwitchMapLevel()
|
||||
widget->getMapView()->onMapLevelSwitched();
|
||||
}
|
||||
|
||||
void AdventureMapInterface::hotkeyZoom(int delta)
|
||||
void AdventureMapInterface::hotkeyZoom(int delta, bool useDeadZone)
|
||||
{
|
||||
widget->getMapView()->onMapZoomLevelChanged(delta);
|
||||
widget->getMapView()->onMapZoomLevelChanged(delta, useDeadZone);
|
||||
}
|
||||
|
||||
void AdventureMapInterface::onScreenResize()
|
||||
|
Reference in New Issue
Block a user