修背景锁定处理顺序问题 close #1122

Co-authored-by: SweetSea <106439598+SweetSea-ButImNotSweet@users.noreply.github.com>
This commit is contained in:
MrZ_26
2024-06-17 10:18:23 +08:00
parent 6f74693811
commit f01594b4d1

View File

@@ -161,12 +161,12 @@ do-- function applySettings()
if SETTING.bg=='on' then
BG.unlock()
BG.setDefault(SETTING.defaultBG)
BG.set()
if SETTING.lockBG then
BG.lock()
elseif reason=='lockBG' then -- Don't load theme too soon!
THEME.set(THEME.calculate(),GAME.playing)
end
BG.set()
elseif SETTING.bg=='off' then
BG.unlock()
BG.set('fixColor',SETTING.bgAlpha,SETTING.bgAlpha,SETTING.bgAlpha)