feat: enhance alphabet bar with toggle functionality and visual indicators

This commit is contained in:
Will Miao
2025-05-01 20:50:31 +08:00
parent d1fd5b7f27
commit 6e96fbcda7
4 changed files with 213 additions and 49 deletions

View File

@@ -157,16 +157,4 @@ export class LorasControls extends PageControls {
// Expose the alphabet bar to the global scope for debugging
window.alphabetBar = this.alphabetBar;
}
/**
* Override resetAndReload to update letter counts
*/
async resetAndReload(updateFolders = false) {
await super.resetAndReload(updateFolders);
// Update letter counts after reload if alphabet bar exists
if (this.alphabetBar) {
this.alphabetBar.fetchLetterCounts();
}
}
}