Skip to content

Commit

Permalink
correct typo
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Oct 8, 2019
1 parent 18068cb commit ccb3f6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/legacy/ui/public/vislib/lib/axis/axis_labels.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ export class AxisLabels {
const currentTickStartEdge = currentTickCenter - currentTickHalfSize;
const currentTickEndEdge = currentTickCenter + currentTickHalfSize;

const outsideUpperBound = maxSize < currentTickEndEdge > maxSize;
const outsideUpperBound = currentTickEndEdge > maxSize;
const outsideLowerBound = currentTickStartEdge < 0;
const overlapsLastTick = (currentTickEndEdge >= lastTickStartEdge && currentTickStartEdge <= lastTickEndEdge);

Expand Down

0 comments on commit ccb3f6b

Please sign in to comment.