prevent title from overlapping with box top border in Safari

This commit is contained in:
darshanr0107
2025-07-14 14:11:06 +05:30
parent 55527e70c2
commit 966c112eb1

View File

@@ -524,7 +524,7 @@ export const drawBox = function (elem, box, conf) {
box.name, box.name,
g, g,
box.x, box.x,
box.y + (box.textMaxHeight || 0) / 2, box.y + conf.boxTextMargin + (box.textMaxHeight || 0) / 2,
box.width, box.width,
0, 0,
{ class: 'text' }, { class: 'text' },