fix shadows not being valid from the get-go
This commit is contained in:
parent
644ce497a0
commit
c1e3632f42
1 changed files with 2 additions and 0 deletions
|
@ -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)
|
||||
}
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue