Refactoring theme.lua (#1168)

This commit is contained in:
SweetSea
2024-11-02 19:18:43 +07:00
committed by GitHub
parent 6c40fb098f
commit 46396efd09
2 changed files with 44 additions and 48 deletions

View File

@@ -164,7 +164,7 @@ do-- function applySettings()
BG.set()
if SETTING.lockBG then
BG.lock()
elseif reason=='lockBG' then -- Don't load theme too soon!
elseif reason=='lockBG' then -- We only reload theme again when at settings scene.
THEME.set(THEME.calculate(),GAME.playing)
end
elseif SETTING.bg=='off' then