Fixed wrongly assigned parameters
This commit is contained in:
parent
87c966062c
commit
32e913c629
@ -151,10 +151,10 @@ export class GeoMap {
|
|||||||
*/
|
*/
|
||||||
lock({ rotatable = false, translatable = false, movableX = false, movableY = false, scalable = false } = {}) {
|
lock({ rotatable = false, translatable = false, movableX = false, movableY = false, scalable = false } = {}) {
|
||||||
if (this.image && this.image.scatter) {
|
if (this.image && this.image.scatter) {
|
||||||
this.image.scatter.translatable = rotatable
|
this.image.scatter.translatable = translatable
|
||||||
this.image.scatter.movableX = translatable
|
this.image.scatter.movableX = movableX
|
||||||
this.image.scatter.movableY = movableX
|
this.image.scatter.movableY = movableY
|
||||||
this.image.scatter.rotatable = movableY
|
this.image.scatter.rotatable = rotatable
|
||||||
this.image.scatter.scalable = scalable
|
this.image.scatter.scalable = scalable
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user