Skip to content

Commit b90552b

Browse files
benmccannetimberg
authored andcommitted
Remove check that is always true (#6701)
1 parent e42413f commit b90552b

File tree

1 file changed

+0
-10
lines changed

1 file changed

+0
-10
lines changed

src/core/core.scale.js

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1012,11 +1012,6 @@ var Scale = Element.extend({
10121012
for (i = 0; i < ticksLength; ++i) {
10131013
tick = ticks[i] || {};
10141014

1015-
// autoskipper skipped this tick (#4635)
1016-
if (isNullOrUndef(tick.label) && i < ticks.length) {
1017-
continue;
1018-
}
1019-
10201015
if (i === me.zeroLineIndex && options.offset === offsetGridLines) {
10211016
// Draw the first index specially
10221017
lineWidth = gridLines.zeroLineWidth;
@@ -1103,11 +1098,6 @@ var Scale = Element.extend({
11031098
tick = ticks[i];
11041099
label = tick.label;
11051100

1106-
// autoskipper skipped this tick (#4635)
1107-
if (isNullOrUndef(label)) {
1108-
continue;
1109-
}
1110-
11111101
pixel = me.getPixelForTick(tick._index || i) + optionTicks.labelOffset;
11121102
font = tick.major ? fonts.major : fonts.minor;
11131103
lineHeight = font.lineHeight;

0 commit comments

Comments
 (0)