From f9b27372e2b323d7070bcfdcc4de6efd654d05f6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E4=BA=91=E9=A3=9E?= Date: Thu, 14 Apr 2022 17:03:05 +0800 Subject: [PATCH] feat:add checkbox menu --- index.html | 3 +++ src/assets/images/checkbox.svg | 1 + src/editor/core/event/CanvasEvent.ts | 2 +- src/editor/core/position/Position.ts | 4 +++- src/editor/dataset/constant/Element.ts | 3 ++- src/main.ts | 12 +++++++++++- src/style.css | 4 ++++ 7 files changed, 25 insertions(+), 4 deletions(-) create mode 100644 src/assets/images/checkbox.svg diff --git a/index.html b/index.html index 01d078a..68a38c4 100644 --- a/index.html +++ b/index.html @@ -169,6 +169,9 @@ +