From d3fa448eb460490a9c02f0a304bca62d096314ae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Fri, 12 Nov 2021 00:05:59 +0100 Subject: [PATCH] update cursors on canvas size change. --- src/component/cursors.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/component/cursors.vue b/src/component/cursors.vue index 144f3d68..8b4f801b 100644 --- a/src/component/cursors.vue +++ b/src/component/cursors.vue @@ -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