Skip to content

Commit ff46b20

Browse files
committed
VueUiTreemap new component
1 parent b3c7afd commit ff46b20

File tree

3 files changed

+6
-7
lines changed

3 files changed

+6
-7
lines changed

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "vue-data-ui",
33
"private": false,
4-
"version": "2.0.64",
4+
"version": "2.0.65",
55
"type": "module",
66
"description": "A user-empowering data visualization Vue components library",
77
"keywords": [

src/components/vue-ui-treemap.vue

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -595,7 +595,7 @@ defineExpose({
595595

596596
<!-- TOOLTIP -->
597597
<Tooltip
598-
:show="treemapConfig.style.chart.tooltip.show && isTooltip"
598+
:show="treemapConfig.style.chart.tooltip.show && isTooltip && !isZoom"
599599
:backgroundColor="treemapConfig.style.chart.tooltip.backgroundColor"
600600
:color="treemapConfig.style.chart.tooltip.color"
601601
:parent="treemapChart"
@@ -657,13 +657,12 @@ defineExpose({
657657
.vue-ui-treemap-zoom-info {
658658
pointer-events: none;
659659
position: absolute;
660-
top: 50%;
661-
left: 50%;
660+
top: 0;
661+
left: 0;
662662
height: 100%;
663663
width:100%;
664664
display: flex;
665665
align-items:center;
666666
justify-content:center;
667-
transform: translate(-50%, -50%);
668667
}
669668
</style>

0 commit comments

Comments
 (0)