mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2024-09-22 00:06:16 +08:00
applying filters when chaning url. closes #1994
This commit is contained in:
parent
3e64f30b6a
commit
e163d13e68
|
@ -4,6 +4,7 @@ import * as Misc from "./misc";
|
|||
import Config from "./config";
|
||||
import * as UI from "./ui";
|
||||
import tinycolor from "tinycolor2";
|
||||
import * as BackgroundFilter from "./custom-background-filter";
|
||||
|
||||
let isPreviewingTheme = false;
|
||||
export let randomTheme = null;
|
||||
|
@ -199,6 +200,8 @@ export function applyCustomBackground() {
|
|||
src: Config.customBackground,
|
||||
});
|
||||
$(".customBackground").html($img);
|
||||
BackgroundFilter.apply();
|
||||
applyCustomBackgroundSize();
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue