fix missing var

This commit is contained in:
Zutatensuppe 2021-04-15 10:07:50 +02:00
parent be2a651ae6
commit 67ee800375

View file

@ -34,7 +34,7 @@ export default class Camera {
return false
}
const zoomToCoord = center || {
const zoomToCoord = centerCoordViewport || {
x: this.width / 2,
y: this.height / 2
}