diff options
| author | Henry Jameson <me@hjkos.com> | 2020-01-22 02:15:47 +0200 |
|---|---|---|
| committer | Henry Jameson <me@hjkos.com> | 2020-01-22 02:15:47 +0200 |
| commit | c1e3632f4245800df45c1585ff39c97f5377200b (patch) | |
| tree | 970d8ebb40abb103416796623d828b6ff608e92a | |
| parent | 644ce497a0f118b2e5050a2e45b67450915c53f0 (diff) | |
fix shadows not being valid from the get-go
| -rw-r--r-- | src/components/style_switcher/style_switcher.js | 2 |
1 files changed, 2 insertions, 0 deletions
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) } }, |
