From 436ba625489d9152dbd97bf26c7c463093fd0fb4 Mon Sep 17 00:00:00 2001 From: EmeraldBlock <69981203+EmeraldBlock@users.noreply.github.com> Date: Mon, 28 Sep 2020 17:36:25 -0500 Subject: [PATCH] Made zoom keys also equal Made zoom out equal to zoom in --- src/js/game/camera.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/js/game/camera.js b/src/js/game/camera.js index a250f407..3e32603e 100644 --- a/src/js/game/camera.js +++ b/src/js/game/camera.js @@ -353,7 +353,7 @@ export class Camera extends BasicSerializableObject { .add(() => (this.desiredZoom = this.zoomLevel * 1.2)); mapper .getBinding(KEYMAPPINGS.navigation.mapZoomOut) - .add(() => (this.desiredZoom = this.zoomLevel * 0.8)); + .add(() => (this.desiredZoom = this.zoomLevel / 1.2)); mapper.getBinding(KEYMAPPINGS.navigation.centerMap).add(() => this.centerOnMap()); }