We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8769f6d commit d9cab26Copy full SHA for d9cab26
src/axis.js
@@ -38,7 +38,7 @@ function axis(orient, scale) {
38
tickSizeInner = 6,
39
tickSizeOuter = 6,
40
tickPadding = 3,
41
- offset = typeof window !== "undefined" && window.devicePixelRatio >= 2 ? 0 : 0.5,
+ offset = typeof window !== "undefined" && window.devicePixelRatio > 1 ? 0 : 0.5,
42
k = orient === top || orient === left ? -1 : 1,
43
x = orient === left || orient === right ? "x" : "y",
44
transform = orient === top || orient === bottom ? translateX : translateY;
0 commit comments