Skip to content

Commit 2ff6cfb

Browse files
committed
revisit positioning of inside tick labels after bug fix
1 parent 8efa7bd commit 2ff6cfb

7 files changed

+1
-2
lines changed

src/plots/cartesian/axes.js

+1-2
Original file line numberDiff line numberDiff line change
@@ -2534,8 +2534,7 @@ function getTickLabelUV(ax) {
25342534
v += TEXTPAD;
25352535
}
25362536
if(isInside && side === 'top') {
2537-
v -= fontSize * MID_SHIFT;
2538-
v += TEXTPAD;
2537+
v -= fontSize * (1 - CAP_SHIFT);
25392538
}
25402539

25412540
if(isLeft || isTop) u = -u;
-153 Bytes
Loading
23 Bytes
Loading
8 Bytes
Loading
-16 Bytes
Loading
-30 Bytes
Loading
57 Bytes
Loading

0 commit comments

Comments
 (0)