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
1 changed files with 2 additions and 0 deletions

View File

@ -664,8 +664,10 @@ export default {
try { try {
this.updatePreviewColorsAndShadows() this.updatePreviewColorsAndShadows()
this.colorsInvalid = false this.colorsInvalid = false
this.shadowsInvalid = false
} catch (e) { } catch (e) {
this.colorsInvalid = true this.colorsInvalid = true
this.shadowsInvalid = true
console.warn(e) console.warn(e)
} }
}, },