fix shadow control misbehaving in style tab

This commit is contained in:
Henry Jameson 2024-10-19 17:19:54 +03:00
commit d772f6cfeb
7 changed files with 83 additions and 31 deletions

View file

@ -37,7 +37,7 @@ const components = {
ChatMessage: null
}
const findShadow = (shadows, { dynamicVars, staticVars }) => {
export const findShadow = (shadows, { dynamicVars, staticVars }) => {
return (shadows || []).map(shadow => {
let targetShadow
if (typeof shadow === 'string') {