character list grid display toggle

This commit is contained in:
RossAscends
2023-07-14 01:16:32 +09:00
parent 51c6137f53
commit 298952e591
4 changed files with 75 additions and 5 deletions

View File

@@ -742,10 +742,22 @@ function loadPowerUserSettings(settings, data) {
switchWaifuMode();
switchSpoilerMode();
loadMovingUIState();
loadCharListState();
//console.log(power_user)
}
async function loadCharListState() {
if (document.getElementById('CharID0') !== null) {
if (power_user.charListGrid === true) {
$("#charListGridToggle").trigger('click')
}
} else {
await delay(100)
loadCharListState();
}
}
function loadMovingUIState() {
if (isMobile() === false
&& power_user.movingUIState