From c77dfb4c5a2025d0fcc848f0c8cb177acbe95804 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu <1171051090@qq.com> Date: Tue, 19 Jan 2021 23:21:26 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BD=91=E6=A0=BC=E7=BA=BF=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Canvas/GridLines.vue | 82 +++++++++++++------ src/views/Editor/Canvas/SlideBackground.vue | 5 +- .../Editor/Canvas/hooks/useDragElement.ts | 50 +++++------ .../Editor/Canvas/hooks/useDragLineElement.ts | 2 +- .../Editor/Canvas/hooks/useScaleElement.ts | 18 ++-- 5 files changed, 85 insertions(+), 72 deletions(-) diff --git a/src/views/Editor/Canvas/GridLines.vue b/src/views/Editor/Canvas/GridLines.vue index b35a78a..930c509 100644 --- a/src/views/Editor/Canvas/GridLines.vue +++ b/src/views/Editor/Canvas/GridLines.vue @@ -1,39 +1,69 @@