Skip to content

Commit a915aa5

Browse files
committed
Small vertical shift of text labels
1 parent 520b254 commit a915aa5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/JSRootPainter.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2660,7 +2660,7 @@
26602660
if (h>0) {
26612661
if (align[1] == 'bottom') pos_y = (y + h).toFixed(1); else
26622662
if (align[1] == 'top') pos_dy = ".8em"; else {
2663-
pos_y = (y + h/2).toFixed(1);
2663+
pos_y = (y + h/2 + 1).toFixed(1);
26642664
if (JSROOT.browser.isIE) pos_dy = ".4em"; else middleline = true;
26652665
}
26662666
} else {

0 commit comments

Comments
 (0)