mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
Made zoom keys also equal
Made zoom out equal to zoom in
This commit is contained in:
parent
045554ecf1
commit
436ba62548
@ -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());
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user