bill %!s(int64=4) %!d(string=hai) anos
pai
achega
ed3b7af3d3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      locat/components/image-transform/index.js

+ 1 - 1
locat/components/image-transform/index.js

@@ -471,8 +471,8 @@
                             if (this.imgCanvas) {
                                 ctx = this.imgCanvas.getContext('2d')
                                 ctx.clearRect(-10000, -10000, 10000, 10000)
+                                this.imgCanvas.imageLayer.refresh()
                             }
-                            this.imgCanvas.imageLayer.refresh()
                             await this.drawCanvas(imagesArray, [], {
                                 lat: this.lat,
                                 lon: this.lon