QtBiomeVisualiser: Fixed mouse zoom vs menu zoom.
This commit is contained in:
parent
2f0abb73c9
commit
3168a95404
@ -172,7 +172,8 @@ void MainWindow::setViewZoom()
|
||||
{
|
||||
return;
|
||||
}
|
||||
double newZoom = m_ViewZooms[action->data().toInt()];
|
||||
m_CurrentZoomLevel = action->data().toInt();
|
||||
double newZoom = m_ViewZooms[m_CurrentZoomLevel];
|
||||
m_BiomeView->setZoomLevel(newZoom);
|
||||
action->setChecked(true);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user