Skip to content

Commit bb0a27e

Browse files
committed
fix #5024; fix goals not being rendered for first/last columns
1 parent 1e93a0d commit bb0a27e

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/modules/axes/Grid.js

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -126,9 +126,10 @@ class Grid {
126126
const markerSize = w.globals.markers.largestSize
127127

128128
gl.dom.elGridRectMarker = graphics.drawRect(
129+
Math.min(-strokeSize / 2 - barWidthLeft - 2, -markerSize),
129130
-markerSize,
130-
-markerSize,
131-
gl.gridWidth + markerSize * 2,
131+
gl.gridWidth +
132+
Math.max(strokeSize + barWidthRight + barWidthLeft + 4, markerSize * 2),
132133
gl.gridHeight + markerSize * 2,
133134
0,
134135
'#fff'

0 commit comments

Comments
 (0)