From 22a05a35a718c48330da848fb706fa0f2f7c0544 Mon Sep 17 00:00:00 2001 From: AdingApkgg Date: Sat, 27 Dec 2025 08:03:49 +0800 Subject: [PATCH] Refactor ImageViewer component for improved functionality and performance - Simplified image preview logic by removing unused features such as zooming and transformations, focusing on a straightforward full-screen preview experience. - Enhanced event handling for image navigation and touch interactions, improving user experience on mobile devices. - Updated styles for better visual consistency and responsiveness across different screen sizes. - Removed unnecessary imports and streamlined the code for better maintainability. --- index.html | 1 - src/components/ImageViewer.vue | 833 ++++-------------------------- src/components/SearchResults.vue | 6 +- src/components/StatsCorner.vue | 13 +- src/components/VndbPanel.vue | 3 - src/composables/useImageViewer.ts | 99 +--- src/composables/useProgress.ts | 8 +- src/stores/plugins.ts | 48 +- 8 files changed, 151 insertions(+), 860 deletions(-) diff --git a/index.html b/index.html index f8417b7..5a9d864 100644 --- a/index.html +++ b/index.html @@ -3,7 +3,6 @@ - diff --git a/src/components/SearchResults.vue b/src/components/SearchResults.vue index 76ef261..80be64b 100644 --- a/src/components/SearchResults.vue +++ b/src/components/SearchResults.vue @@ -95,10 +95,10 @@
- - - -