Skip to content

Commit

Permalink
Code review feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
etimberg committed Jan 9, 2020
1 parent e2341f6 commit 2244471
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/plugins/plugin.legend.js
Original file line number Diff line number Diff line change
Expand Up @@ -539,8 +539,7 @@ class Legend extends Element {
maxWidth = Math.max(...me.lineWidths);
switch (opts.align) {
case 'start':
// x is already correct in this case
left = me.left;
// left is already correct in this case
break;
case 'end':
left = me.right - maxWidth;
Expand Down

0 comments on commit 2244471

Please sign in to comment.