fix shadows not being valid from the get-go

This commit is contained in:
Henry Jameson 2020-01-22 02:15:47 +02:00
parent 644ce497a0
commit c1e3632f42

View file

@ -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)
}
},