From bed082c58d0f1f95bf8be45c2b2aa808ae6ea8d0 Mon Sep 17 00:00:00 2001 From: Jason Date: Sun, 3 Mar 2024 01:54:46 +0800 Subject: [PATCH 1/3] fix:view transition not working with Presenter mode --- packages/client/pages/presenter.vue | 6 +++++- packages/client/routes.ts | 7 ++++++- 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/packages/client/pages/presenter.vue b/packages/client/pages/presenter.vue index b85ad4a847..c1b9624852 100644 --- a/packages/client/pages/presenter.vue +++ b/packages/client/pages/presenter.vue @@ -116,7 +116,7 @@ onMounted(() => { { diff --git a/packages/client/internals/SlidesShow.vue b/packages/client/internals/SlidesShow.vue index 28a8f404e1..7c31f141c8 100644 --- a/packages/client/internals/SlidesShow.vue +++ b/packages/client/internals/SlidesShow.vue @@ -5,7 +5,7 @@ import { getSlideClass } from '../utils' import { useViewTransition } from '../composables/useViewTransition' import { skipTransition } from '../composables/hmr' import { usePrimaryClicks } from '../composables/useClicks' -import SlideWrapper from './SlideWrapper' +import SlideWrapper from './SlideWrapper.vue' import PresenterMouse from './PresenterMouse.vue' import GlobalTop from '#slidev/global-components/top' diff --git a/packages/client/pages/overview.vue b/packages/client/pages/overview.vue index 34cf522ec7..83a9400313 100644 --- a/packages/client/pages/overview.vue +++ b/packages/client/pages/overview.vue @@ -8,7 +8,7 @@ import { useFixedClicks } from '../composables/useClicks' import { isColorSchemaConfigured, isDark, toggleDark } from '../logic/dark' import { getSlideClass } from '../utils' import SlideContainer from '../internals/SlideContainer.vue' -import SlideWrapper from '../internals/SlideWrapper' +import SlideWrapper from '../internals/SlideWrapper.vue' import DrawingPreview from '../internals/DrawingPreview.vue' import IconButton from '../internals/IconButton.vue' import NoteEditable from '../internals/NoteEditable.vue' diff --git a/packages/client/pages/presenter.vue b/packages/client/pages/presenter.vue index ff491906cb..e5af59b898 100644 --- a/packages/client/pages/presenter.vue +++ b/packages/client/pages/presenter.vue @@ -11,7 +11,7 @@ import { getSlideClass } from '../utils' import { useTimer } from '../logic/utils' import { isDrawing } from '../logic/drawings' import { useFixedClicks, usePrimaryClicks } from '../composables/useClicks' -import SlideWrapper from '../internals/SlideWrapper' +import SlideWrapper from '../internals/SlideWrapper.vue' import SlideContainer from '../internals/SlideContainer.vue' import NavControls from '../internals/NavControls.vue' import QuickOverview from '../internals/QuickOverview.vue' @@ -116,7 +116,7 @@ onMounted(() => { {