From 224447167c9a3b29c182939a26b1930556f61dfa Mon Sep 17 00:00:00 2001 From: Evert Timberg Date: Sat, 4 Jan 2020 19:37:33 -0500 Subject: [PATCH] Code review feedback --- src/plugins/plugin.legend.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/plugins/plugin.legend.js b/src/plugins/plugin.legend.js index af706344d4a..4935c7cf03f 100644 --- a/src/plugins/plugin.legend.js +++ b/src/plugins/plugin.legend.js @@ -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;