fix missing var
This commit is contained in:
parent
be2a651ae6
commit
67ee800375
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ export default class Camera {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
|
|
||||||
const zoomToCoord = center || {
|
const zoomToCoord = centerCoordViewport || {
|
||||||
x: this.width / 2,
|
x: this.width / 2,
|
||||||
y: this.height / 2
|
y: this.height / 2
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue