fixed faint text not working in theme previews

This commit is contained in:
Henry Jameson 2025-02-20 11:54:29 +02:00
parent 7bab1e4259
commit 0509a38730

View file

@ -537,7 +537,7 @@ export const init = ({
// Optimization: we only really need combinations without "normal" because all states implicitly have it
const permutationStateKeys = Object.keys(states).filter(s => s !== 'normal')
const stateCombinations = onlyNormalState
const stateCombinations = (onlyNormalState && !virtualComponents.has(component.name))
? [
['normal']
]