整理代码,微调节日主题变色逻辑

This commit is contained in:
MrZ626
2021-02-10 19:21:05 +08:00
parent fbd435a018
commit d2a524b26e
3 changed files with 3 additions and 3 deletions

View File

@@ -984,7 +984,7 @@ function WIDGET.set(list)
end
local rnd=math.random
for _,W in next,list do
if W.color then
if W.color and not W.fText then
W.color=rnd()<.3 and c1 or rnd()<.5 and c2 or c3
end
end