mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-27 22:49:25 +02:00
Fix zooming with keyboard shortcuts
This commit is contained in:
@@ -239,9 +239,9 @@ void MapView::onViewWorldActivated(uint32_t tileSize)
|
||||
controller->setTileSize(Point(tileSize, tileSize));
|
||||
}
|
||||
|
||||
void MapView::onMapZoomLevelChanged(int stepsChange)
|
||||
void MapView::onMapZoomLevelChanged(int stepsChange, bool useDeadZone)
|
||||
{
|
||||
controller->modifyTileSize(stepsChange);
|
||||
controller->modifyTileSize(stepsChange, useDeadZone);
|
||||
}
|
||||
|
||||
void MapView::onViewMapActivated()
|
||||
|
||||
Reference in New Issue
Block a user