Skip to content

Commit

Permalink
Use ticks isntead of me.getTicks()
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann committed Jul 1, 2019
1 parent d0d2bfc commit 019d7be
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scale.js
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ var Scale = Element.extend({
me.fit();
me.afterFit();
// Auto-skip
me._ticks = tickOpts.display && tickOpts.autoSkip ? me._autoSkip(me.getTicks()) : me.getTicks();
me._ticks = tickOpts.display && tickOpts.autoSkip ? me._autoSkip(ticks) : ticks;

me.afterUpdate();

Expand Down

0 comments on commit 019d7be

Please sign in to comment.