don't trigger render in position watch function

This commit is contained in:
Tomáš Mládek 2018-01-25 14:25:52 +01:00 committed by Tomáš Mládek
parent a715d2a381
commit 7796dd0dcb

View file

@ -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()
}