From e163d13e68644dcf5d5aff6320efc461db2005e3 Mon Sep 17 00:00:00 2001 From: Jack Date: Tue, 12 Oct 2021 15:32:56 +0100 Subject: [PATCH] applying filters when chaning url. closes #1994 --- src/js/theme-controller.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/js/theme-controller.js b/src/js/theme-controller.js index 063365c28..57cbd6954 100644 --- a/src/js/theme-controller.js +++ b/src/js/theme-controller.js @@ -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(); } }