From ec1f069515148fa9cd164a27e865140931662164 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Wed, 30 Oct 2024 22:12:30 +0200 Subject: [PATCH] fix shadow reverting to object mode if deserialization fails --- src/components/settings_modal/tabs/style_tab/style_tab.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/settings_modal/tabs/style_tab/style_tab.js b/src/components/settings_modal/tabs/style_tab/style_tab.js index cba21a0c..a612f5a9 100644 --- a/src/components/settings_modal/tabs/style_tab/style_tab.js +++ b/src/components/settings_modal/tabs/style_tab/style_tab.js @@ -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)) }) }