From ffd567698aa630ce58afdeffc621824dd4e89fb8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Miroslav=20=C5=A0ediv=C3=BD?= Date: Sun, 21 Feb 2021 12:36:02 +0100 Subject: [PATCH] canvas remove screenSize event. --- src/component/overlay.vue | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/src/component/overlay.vue b/src/component/overlay.vue index 04675565..7c428574 100644 --- a/src/component/overlay.vue +++ b/src/component/overlay.vue @@ -280,14 +280,7 @@ @Watch('cursorTag') onCursorTagChange() { - this.canvasRedraw() - } - - @Watch('screenSize') - onScreenSizeChange() { - if (this.isControling) { - this.canvasClear() - } else { + if (!this.isControling) { this.canvasRedraw() } }