From c3c308764515b92c72dfbe121c9a28d441f520ea Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Fri, 16 Oct 2026 14:44:05 +0400 Subject: [PATCH] refac --- src/lib/components/common/PDFViewer.svelte | 1 + src/lib/components/common/PptxPreview.svelte | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/lib/components/common/PDFViewer.svelte b/src/lib/components/common/PDFViewer.svelte index 65720fd871..027d721f56 100644 --- a/src/lib/components/common/PDFViewer.svelte +++ b/src/lib/components/common/PDFViewer.svelte @@ -687,6 +687,7 @@ tabindex="0" on:scroll={handleScroll} on:wheel|nonpassive={handleWheel} + on:dblclick|capture|stopPropagation={() => {}} on:pointerdown={focusViewer} on:keydown={handleKeyDown} > diff --git a/src/lib/components/common/PptxPreview.svelte b/src/lib/components/common/PptxPreview.svelte index c2215a709f..2d51fc726b 100644 --- a/src/lib/components/common/PptxPreview.svelte +++ b/src/lib/components/common/PptxPreview.svelte @@ -294,10 +294,12 @@ {/each} +
{}} > {#if selectedSlide}