mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-10-24 23:07:25 +08:00
todo
This commit is contained in:
parent
685668a6b8
commit
05ee75a97c
1 changed files with 0 additions and 4 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue