Skip to content

Commit

Permalink
Fix right side scale ticks (#6523)
Browse files Browse the repository at this point in the history
  • Loading branch information
kurkle authored and etimberg committed Sep 16, 2019
1 parent 376da21 commit 29f1337
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/core.scale.js
Expand Up @@ -1028,7 +1028,7 @@ var Scale = Element.extend({
x = me.right - (isMirrored ? 0 : tl) - tickPadding;
textAlign = isMirrored ? 'left' : 'right';
} else {
x = me.right + (isMirrored ? 0 : tl) + tickPadding;
x = me.left + (isMirrored ? 0 : tl) + tickPadding;
textAlign = isMirrored ? 'right' : 'left';
}

Expand Down

0 comments on commit 29f1337

Please sign in to comment.