Little mistake
This commit is contained in:
parent
4dcb30110f
commit
d7612e9304
|
@ -77,7 +77,7 @@ void UIMap::movePixels(int x, int y)
|
||||||
|
|
||||||
bool UIMap::setZoom(int zoom)
|
bool UIMap::setZoom(int zoom)
|
||||||
{
|
{
|
||||||
m_zoom = stdext::clamp<int>(zoom, m_maxZoomOut, m_maxZoomIn);
|
m_zoom = stdext::clamp<int>(zoom, m_maxZoomIn, m_maxZoomOut);
|
||||||
updateVisibleDimension();
|
updateVisibleDimension();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue