From fef9629b8f4bd3f4f59a2571b8beffe0b797b9d2 Mon Sep 17 00:00:00 2001 From: AdingApkgg Date: Fri, 26 Dec 2025 20:25:07 +0800 Subject: [PATCH] Enhance translation handling and state management in VndbPanel.vue - Introduced a mechanism to track the current game ID to prevent data inconsistencies during game switches. - Refactored translation functions to include silent mode for background translations without audio feedback. - Improved logic for loading character and quote translations, ensuring they are only processed if the game ID remains unchanged. - Enhanced screenshot loading checks to ensure images are fully loaded before updating the UI state. --- src/components/VndbPanel.vue | 129 +++++++++++++++++++++++------------ 1 file changed, 87 insertions(+), 42 deletions(-) diff --git a/src/components/VndbPanel.vue b/src/components/VndbPanel.vue index eb188ee..fea07df 100644 --- a/src/components/VndbPanel.vue +++ b/src/components/VndbPanel.vue @@ -536,7 +536,7 @@