mirror of
https://github.com/m1k1o/neko.git
synced 2025-08-02 00:10:07 +02:00
canvas remove screenSize event.
This commit is contained in:
parent
1967027d29
commit
ffd567698a
1 changed files with 1 additions and 8 deletions
|
@ -280,14 +280,7 @@
|
|||
|
||||
@Watch('cursorTag')
|
||||
onCursorTagChange() {
|
||||
this.canvasRedraw()
|
||||
}
|
||||
|
||||
@Watch('screenSize')
|
||||
onScreenSizeChange() {
|
||||
if (this.isControling) {
|
||||
this.canvasClear()
|
||||
} else {
|
||||
if (!this.isControling) {
|
||||
this.canvasRedraw()
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue