This commit is contained in:
Miodec 2023-07-18 19:17:47 +02:00
parent 685668a6b8
commit 05ee75a97c

View file

@ -1756,10 +1756,6 @@ export function setCustomBackgroundSize(
return false;
}
//todo this might not be needed because of the above check
if (value !== "cover" && value !== "contain" && value !== "max") {
value = "cover";
}
config.customBackgroundSize = value;
saveToLocalStorage("customBackgroundSize", nosave);
ConfigEvent.dispatch("customBackgroundSize", config.customBackgroundSize);