FESTIVAL变量改名THEME

This commit is contained in:
MrZ626
2021-03-08 14:33:23 +08:00
parent 30a8444840
commit 796bd649c2
4 changed files with 22 additions and 22 deletions

View File

@@ -974,11 +974,11 @@ function WIDGET.set(list)
for i=1,#list do
list[i]:reset()
end
if FESTIVAL and SCN.cur~="custom_field"then
if THEME and SCN.cur~="custom_field"then
local c1,c2,c3
if FESTIVAL=="xMas"then
if THEME=="xMas"then
c1,c2,c3=COLOR.red,COLOR.white,COLOR.green
elseif FESTIVAL=="sprFes"then
elseif THEME=="sprFes"then
c1,c2,c3=COLOR.red,COLOR.orange,COLOR.yellow
else
return