mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
not null compare.
This commit is contained in:
parent
9736fe3a5e
commit
5ee38f217e
@ -395,7 +395,7 @@
|
||||
}
|
||||
|
||||
canvasRedraw() {
|
||||
if (this.cursorPosition == null || this.screenSize == null || this.cursorImage == null) return
|
||||
if (!this.cursorPosition || !this.screenSize || !this.cursorImage) return
|
||||
|
||||
// clear drawings
|
||||
this.canvasClear()
|
||||
|
Loading…
Reference in New Issue
Block a user