Small preformance improvement

This commit is contained in:
Eric Fennis
2023-05-12 23:35:31 +02:00
parent 96792e8687
commit 88665daafa
@@ -38,9 +38,9 @@ const sizeCssVar = useCssVar(
}
)
syncRef(color, colorCssVar)
syncRef(strokeWidth, strokeWidthCssVar)
syncRef(size, sizeCssVar)
syncRef(color, colorCssVar, { direction: 'ltr' })
syncRef(strokeWidth, strokeWidthCssVar, { direction: 'ltr' })
syncRef(size, sizeCssVar, { direction: 'ltr' })
function resetStyle () {
color.value = 'currentColor'