mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-07-22 21:57:58 +07:00
Fixed zoom clamping too strictly
This commit is contained in:
@ -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){
|
||||
|
Reference in New Issue
Block a user