update: background properties

This commit is contained in:
Braks
2021-10-21 13:57:20 +02:00
parent ca2901bc01
commit 24316e1386
2 changed files with 5 additions and 8 deletions
@@ -18,7 +18,7 @@ const props = withDefaults(defineProps<MiniMapNodeProps>(), {
const attrs = useAttrs()
const styles = (attrs.style ?? {}) as CSSProperties
const fill = computed(() => (props.color || styles.background || styles.backgroundColor) as string)
const fill = computed(() => props.color || styles.background || styles.backgroundColor)
</script>
<template>
<rect