From 087ac8470e65222629345482b95c2a663ddb5e20 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Tue, 16 Mar 2010 10:51:05 -0400 Subject: [PATCH] [panel.js] Remove duplicated 'let' Original fix from Maxim Ermilov --- js/ui/panel.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/ui/panel.js b/js/ui/panel.js index 6915bc5bd..e35a655ae 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -226,7 +226,7 @@ AppPanelMenu.prototype = { let iconWidth = childBox.x2 - childBox.x1; - let [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size(); + [minWidth, minHeight, naturalWidth, naturalHeight] = this._label.actor.get_preferred_size(); yPadding = Math.floor(Math.max(0, allocHeight - naturalHeight) / 2); childBox.y1 = yPadding;