mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
canvas redraw on cursorTag change.
This commit is contained in:
parent
8bee5222b1
commit
7d4ad810b3
@ -278,6 +278,11 @@
|
||||
private cursorElement: HTMLImageElement = new Image()
|
||||
private cursorPosition: { x: number; y: number } | null = null
|
||||
|
||||
@Watch('cursorTag')
|
||||
onCursorTagChange() {
|
||||
this.canvasRedraw()
|
||||
}
|
||||
|
||||
@Watch('screenSize')
|
||||
onScreenSizeChange() {
|
||||
if (this.isControling) {
|
||||
|
Loading…
Reference in New Issue
Block a user