From 405fd8cd5776685f007145dd2b9f9ba129800e11 Mon Sep 17 00:00:00 2001 From: pipipi-pikachu Date: Sat, 8 Jan 2022 11:30:48 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=BC=A9=E7=95=A5?= =?UTF-8?q?=E5=9B=BE=E9=A1=B5=E9=9D=A2=E7=BC=A9=E6=94=BE=E6=AF=94=E4=BE=8B?= =?UTF-8?q?=E4=BC=A0=E5=80=BC=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/Editor/Thumbnails/index.vue | 4 ---- src/views/components/ThumbnailSlide/index.vue | 3 ++- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/src/views/Editor/Thumbnails/index.vue b/src/views/Editor/Thumbnails/index.vue index 36918b62..54fcf785 100644 --- a/src/views/Editor/Thumbnails/index.vue +++ b/src/views/Editor/Thumbnails/index.vue @@ -49,7 +49,6 @@ import { storeToRefs } from 'pinia' import { useMainStore, useSlidesStore, useKeyboardStore } from '@/store' import { fillDigit } from '@/utils/common' import { ContextmenuItem } from '@/components/Contextmenu/types' -import { VIEWPORT_SIZE } from '@/configs/canvas' import useSlideHandler from '@/hooks/useSlideHandler' import useScreening from '@/hooks/useScreening' import useLoadSlides from '@/hooks/useLoadSlides' @@ -79,9 +78,6 @@ export default defineComponent({ const presetLayoutPopoverVisible = ref(false) - const scale = computed(() => 120 / VIEWPORT_SIZE) - provide('slideScale', scale) - const { copySlide, pasteSlide, diff --git a/src/views/components/ThumbnailSlide/index.vue b/src/views/components/ThumbnailSlide/index.vue index 50afb860..58508cef 100644 --- a/src/views/components/ThumbnailSlide/index.vue +++ b/src/views/components/ThumbnailSlide/index.vue @@ -27,7 +27,7 @@