Skip to content

Commit 9f9c04e

Browse files
committed
Fix - VueUiRelationCircle - Deactivate autoFontSize feature because it sucks with rotated text elements for now
1 parent d2fd4e5 commit 9f9c04e

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

src/components/vue-ui-relation-circle.vue

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,7 @@ function prepareChart() {
276276
relations.value = [];
277277
createPlots();
278278
createRelations();
279-
autoSizeLabels();
279+
// autoSizeLabels();
280280
281281
if (FINAL_CONFIG.value.responsiveProportionalSizing) {
282282
dataLabelSize.value = translateSize({
@@ -326,7 +326,7 @@ function prepareChart() {
326326
createPlots();
327327
createRelations();
328328
}
329-
autoSizeLabels();
329+
// autoSizeLabels();
330330
}
331331
332332
onBeforeUnmount(() => {
@@ -340,13 +340,13 @@ onBeforeUnmount(() => {
340340
}
341341
});
342342
343-
const { autoSizeLabels } = useAutoSizeLabelsInsideViewbox({
344-
svgRef,
345-
fontSize: FINAL_CONFIG.value.style.labels.fontSize,
346-
minFontSize: FINAL_CONFIG.value.style.labels.minFontSize,
347-
sizeRef: labelFontSize,
348-
labelClass: '.vue-ui-relation-circle-legend'
349-
});
343+
// const { autoSizeLabels } = useAutoSizeLabelsInsideViewbox({
344+
// svgRef,
345+
// fontSize: FINAL_CONFIG.value.style.labels.fontSize,
346+
// minFontSize: FINAL_CONFIG.value.style.labels.minFontSize,
347+
// sizeRef: labelFontSize,
348+
// labelClass: '.vue-ui-relation-circle-legend'
349+
// });
350350
351351
function clickOutside(e) {
352352
const target = e.target;

0 commit comments

Comments
 (0)