Skip to content

Commit f419631

Browse files
committed
Fix - VueUiHorizontalBar - Use proper dimension variables for #chart-background slot
1 parent cf51563 commit f419631

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/vue-ui-horizontal-bar.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1384,8 +1384,8 @@ defineExpose({
13841384
<PackageVersion />
13851385
13861386
<!-- BACKGROUND SLOT -->
1387-
<foreignObject v-if="$slots['chart-background']" :x="0" :y="0" :width="drawingArea.width"
1388-
:height="drawingArea.height" :style="{
1387+
<foreignObject v-if="$slots['chart-background']" :x="0" :y="0" :width="WIDTH"
1388+
:height="HEIGHT" :style="{
13891389
pointerEvents: 'none',
13901390
}">
13911391
<slot name="chart-background" />

0 commit comments

Comments
 (0)