From bbc3094e932e3d193d3223448c789461f4afc058 Mon Sep 17 00:00:00 2001
From: dujinkim <dujin.kim@dtsolution.co.kr>
Date: Wed, 29 Oct 2025 07:46:57 +0000
Subject: (대표님) 데이터룸 관련 변경사항
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 components/file-manager/SecurePDFViewer.tsx | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

(limited to 'components/file-manager/SecurePDFViewer.tsx')

diff --git a/components/file-manager/SecurePDFViewer.tsx b/components/file-manager/SecurePDFViewer.tsx
index 704c4f24..0deb96b6 100644
--- a/components/file-manager/SecurePDFViewer.tsx
+++ b/components/file-manager/SecurePDFViewer.tsx
@@ -91,10 +91,6 @@ export function SecurePDFViewer({ documentUrl, fileName, category, onClose }: Se
                   'ribbons',
                   'toggleNotesButton'
                 ]);
-
-                const { Core } = instance;
-                Core.Tools.Tool.disableAutoSwitch();
-                Core.Tools.Tool.disableTextSelection();
                 
                 // CSS 적용으로 추가 보안
                 const iframeWindow = instance.UI.iframeWindow;
@@ -241,6 +237,10 @@ export function SecurePDFViewer({ documentUrl, fileName, category, onClose }: Se
           }
 
           annotationManager.drawAnnotations(documentViewer.getCurrentPage());
+
+          const { Core } = instance;
+          Core.Tools.Tool.disableAutoSwitch();
+          Core.Tools.Tool.disableTextSelection();
         }
 
         // Pan 모드로 설정 (텍스트 선택 불가)
-- 
cgit v1.2.3

