The processing of the Separate button was missing and has been added. Dynamic update logic centralized

This commit is contained in:
Mingyu
2025-11-26 21:46:59 +08:00
committed by GitHub
parent 691586ce2f
commit f38bddec62
6 changed files with 66 additions and 46 deletions
-3
View File
@@ -115,6 +115,3 @@ export function addDiceQuickReply() {
// For now, the dice display in the sidebar serves as the button
}
}
// Add event listener to update display on language change
i18n.addEventListener('languageChanged', updateDiceDisplay);