mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
canvas remove screenSize event.
This commit is contained in:
parent
1967027d29
commit
ffd567698a
@ -280,14 +280,7 @@
|
|||||||
|
|
||||||
@Watch('cursorTag')
|
@Watch('cursorTag')
|
||||||
onCursorTagChange() {
|
onCursorTagChange() {
|
||||||
this.canvasRedraw()
|
if (!this.isControling) {
|
||||||
}
|
|
||||||
|
|
||||||
@Watch('screenSize')
|
|
||||||
onScreenSizeChange() {
|
|
||||||
if (this.isControling) {
|
|
||||||
this.canvasClear()
|
|
||||||
} else {
|
|
||||||
this.canvasRedraw()
|
this.canvasRedraw()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user