From ab0255a775ba7d48fa7ecdea7a0e23669b9493c0 Mon Sep 17 00:00:00 2001 From: landaiqing Date: Thu, 24 Apr 2025 18:53:08 +0800 Subject: [PATCH] :sparkles: Added function of scrolling wheel to scale font size --- frontend/src/components/toolbar/index.vue | 41 ++++++++++++++------- frontend/src/editor/font/font.ts | 2 +- frontend/src/editor/index.vue | 29 +++++++++++++++ frontend/src/stores/editor.ts | 43 ++++++++++++++++++++++- 4 files changed, 100 insertions(+), 15 deletions(-) diff --git a/frontend/src/components/toolbar/index.vue b/frontend/src/components/toolbar/index.vue index 2c9efd8..857ed7d 100644 --- a/frontend/src/components/toolbar/index.vue +++ b/frontend/src/components/toolbar/index.vue @@ -1,5 +1,5 @@ @@ -7,18 +7,27 @@ const editorStore = useEditorStore();