We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 678501f commit 72a0287Copy full SHA for 72a0287
src/components/vue-ui-onion.vue
@@ -162,8 +162,8 @@ const mutableCount = computed(() => {
162
163
const onionSkin = computed(() => {
164
return {
165
- gutter: drawableArea.value.width / 2 / mutableCount.value * onionConfig.value.style.chart.layout.gutter.width,
166
- track: drawableArea.value.width / 2 / mutableCount.value * onionConfig.value.style.chart.layout.track.width,
+ gutter: drawableArea.value.width / 2 / immutableDataset.value.length * onionConfig.value.style.chart.layout.gutter.width,
+ track: drawableArea.value.width / 2 / immutableDataset.value.length * onionConfig.value.style.chart.layout.track.width,
167
}
168
});
169
0 commit comments