From a5ef8a940cf7427570b55b336e6a613b7a8d28fd Mon Sep 17 00:00:00 2001
From: pipipi-pikachu <1171051090@qq.com>
Date: Thu, 14 Jan 2021 09:42:26 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96=E7=94=BB=E7=AC=94=E5=B7=A5?=
=?UTF-8?q?=E5=85=B7?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/components/WritingBoard.vue | 18 ++++--
src/views/Screen/WritingBoardTool.vue | 82 ++++++++++++++++-----------
src/views/Screen/index.vue | 9 +--
3 files changed, 66 insertions(+), 43 deletions(-)
diff --git a/src/components/WritingBoard.vue b/src/components/WritingBoard.vue
index 2e2606c..b8df4aa 100644
--- a/src/components/WritingBoard.vue
+++ b/src/components/WritingBoard.vue
@@ -12,20 +12,22 @@
class="pen"
:style="{
left: mouse.x - penSize / 2 + 'px',
- top: mouse.y - 50 + penSize / 2 + 'px',
+ top: mouse.y - 36 + penSize / 2 + 'px',
color: color,
}"
v-if="mouseInCanvas && model === 'pen'"
- >