commit: 0509a38730f3d3313bedf92563b8b8484da0ec49
parent 7bab1e42591bc421242f4c122638a8469a743fef
Author: Henry Jameson <me@hjkos.com>
Date: Thu, 20 Feb 2025 11:54:29 +0200
fixed faint text not working in theme previews
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/services/theme_data/theme_data_3.service.js b/src/services/theme_data/theme_data_3.service.js
@@ -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']
]