From c1e3632f4245800df45c1585ff39c97f5377200b Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 22 Jan 2020 02:15:47 +0200 Subject: [PATCH] fix shadows not being valid from the get-go --- src/components/style_switcher/style_switcher.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/style_switcher/style_switcher.js b/src/components/style_switcher/style_switcher.js index 44e7595d..195c6b35 100644 --- a/src/components/style_switcher/style_switcher.js +++ b/src/components/style_switcher/style_switcher.js @@ -664,8 +664,10 @@ export default { try { this.updatePreviewColorsAndShadows() this.colorsInvalid = false + this.shadowsInvalid = false } catch (e) { this.colorsInvalid = true + this.shadowsInvalid = true console.warn(e) } },