Skip to content

Commit 23f6464

Browse files
committed
Fix - VueUiWaffle - Fix regression causing #cell slot to be unusable
1 parent bd7ceeb commit 23f6464

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

TestingArena/ArenaVueUiWaffle.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ const model = ref([
3232
{ key: 'userOptions.buttons.csv', def: true, type: 'checkbox'},
3333
{ key: 'userOptions.buttons.fullscreen', def: true, type: 'checkbox'},
3434
{ key: 'useBlurOnHover', def: true, type: 'checkbox'},
35-
{ key: 'useCustomCells', def: false, type: 'checkbox'},
35+
{ key: 'useCustomCells', def: true, type: 'checkbox'},
3636
{ key: 'useAnimation', def: true, type: 'checkbox'},
3737
{ key: 'style.fontFamily', def: "inherit", type: 'text'},
3838
{ key: 'style.chart.backgroundColor', def: '#FFFFFF', type: 'color'},

src/components/vue-ui-waffle.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -766,7 +766,7 @@ defineExpose({
766766
</foreignObject>
767767
</template>
768768

769-
<rect v-if="!rects.length"
769+
<rect v-if="!rects.length && !FINAL_CONFIG.useCustomCells"
770770
:x="12"
771771
:y="12"
772772
:height="drawingArea.height - 24"
@@ -776,7 +776,7 @@ defineExpose({
776776
stroke="black"
777777
/>
778778

779-
<template v-else-if="rects.length">
779+
<template v-else-if="rects.length && !FINAL_CONFIG.useCustomCells">
780780
<rect
781781
v-for="(position, i) in positions"
782782
:data-cy="`waffle-rect-underlayer-${i}`"

0 commit comments

Comments
 (0)