don't trigger render in position
watch function
This commit is contained in:
parent
a715d2a381
commit
7796dd0dcb
1 changed files with 1 additions and 1 deletions
|
@ -68,7 +68,7 @@
|
|||
}, 0)
|
||||
},
|
||||
position: function () {
|
||||
if (this.image === null) return
|
||||
if (this.playing || this.image === null) return
|
||||
this.tmp_ctx = this.$refs.canvas.getContext('2d')
|
||||
this.$render()
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue