From fe13f5d45ebc60f5f15d1b60b19a3d8b4a2db3ab Mon Sep 17 00:00:00 2001 From: ema Date: Tue, 1 Jul 2025 03:38:34 +0800 Subject: [PATCH] Remove cursor style changes during SVG panning --- .../QuickLook.Plugin.ImageViewer/Resources/svg2html.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Resources/svg2html.js b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Resources/svg2html.js index 0090272..513fa57 100644 --- a/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Resources/svg2html.js +++ b/QuickLook.Plugin/QuickLook.Plugin.ImageViewer/Resources/svg2html.js @@ -203,7 +203,6 @@ class SvgViewer { this.isDragging = true; this.lastMouseX = e.clientX; this.lastMouseY = e.clientY; - document.body.style.cursor = 'grab'; this.disableTransition(); // Disable animation while panning } }); @@ -238,7 +237,6 @@ class SvgViewer { window.addEventListener('mouseup', () => { if (this.isDragging) { this.isDragging = false; - document.body.style.cursor = ''; } }); }