fix shadow reverting to object mode if deserialization fails
This commit is contained in:
parent
30206d20a7
commit
ec1f069515
|
@ -391,6 +391,7 @@ export default {
|
|||
return deserializeShadow(shadow)
|
||||
} catch (e) {
|
||||
console.warn(e)
|
||||
return shadow
|
||||
}
|
||||
}
|
||||
return null
|
||||
|
@ -703,7 +704,6 @@ export default {
|
|||
if (selectedState.size > 0) {
|
||||
selectedState.forEach(state => {
|
||||
const original = selectedComponent.value.states[state]
|
||||
console.log('ORIG', original)
|
||||
selectors.push(simulatePseudoSelectors(original))
|
||||
})
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue