mirror of
https://github.com/m1k1o/neko.git
synced 2024-07-24 14:40:50 +12:00
update cursors on canvas size change.
This commit is contained in:
parent
a6dea31605
commit
d3fa448eb4
@ -72,6 +72,7 @@
|
||||
onCanvasSizeChange({ width, height }: Dimension) {
|
||||
this._overlay.width = width * CANVAS_SCALE
|
||||
this._overlay.height = height * CANVAS_SCALE
|
||||
this.canvasUpdateCursors()
|
||||
}
|
||||
|
||||
// start as undefined to prevent jumping
|
||||
|
Loading…
Reference in New Issue
Block a user