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 5, 2020
1 parent cf34912 commit 4e64385
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 @@ -541,8 +541,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 4e64385

Please sign in to comment.