No theme and default BG and patch BG bug when hitting F11 (#1070)
* Add setting slot for no theme & default BG * Whitelist 4 seasons theme + blocking console's theme command if theme disabled * Small update theme.lua * Expose the WIDGET.setOnChange() to use in setting_video.lua * Shorten "Use custom B.G." to "Custom B.G." * Shorten theme code, and edit the UI * Add lock BG * Add VI translation * Fullscreen patch * Modify UI * Small change * Undo a mistake
This commit is contained in:
committed by
GitHub
parent
42942d1ac4
commit
19ea76dc4c
@@ -501,10 +501,14 @@ local commands={} do
|
||||
commands.theme={
|
||||
code=function(name)
|
||||
if name~="" then
|
||||
if THEME.set(name) then
|
||||
log("Theme set to: "..name)
|
||||
if SETTING.noTheme then
|
||||
log{"Theme is ",C.R,"disabled",C.Z,"! Please re-enable it before trying this command again"}
|
||||
else
|
||||
log("No theme called "..name)
|
||||
if THEME.set(name) then
|
||||
log("Theme set to: "..name)
|
||||
else
|
||||
log("No theme called "..name)
|
||||
end
|
||||
end
|
||||
else
|
||||
log{C.A,"Usage: theme <xmas|halloween|sprfes|zday1/2/3|season1/2/3/4|fool|birth>"}
|
||||
|
||||
Reference in New Issue
Block a user