1
0
mirror of https://github.com/tobspr/shapez.io.git synced 2025-12-15 03:01:52 +00:00

Make zoom levels power-of-2 with variable divider fix

This commit is contained in:
Dimava 2020-05-27 21:22:56 +03:00
parent a1148b254f
commit 55a48d7f15

View File

@ -529,6 +529,7 @@ export class Camera extends BasicSerializableObject {
assert(Number.isFinite(this.zoomLevel), "Got invalid zoom level *after* wheel: " + this.zoomLevel);
this.clampZoomLevel();
this.desiredZoom = null;
return false;
}