Fixed zoom clamping too strictly

This commit is contained in:
Anuken
2018-02-09 14:49:53 -05:00
parent 859621d13d
commit 58aaee30a0
2 changed files with 2 additions and 2 deletions

View File

@ -196,7 +196,7 @@ public class MapView extends Element implements GestureListener{
}
private void clampZoom(){
zoom = Mathf.clamp(zoom, 0.4f, 8f);
zoom = Mathf.clamp(zoom, 0.2f, 12f);
}
private GridPoint2 project(float x, float y){