[panel.js] Remove duplicated 'let'

Original fix from Maxim Ermilov <zaspire@rambler.ru>
This commit is contained in:
Colin Walters 2010-03-16 10:51:05 -04:00
parent 3ce89e3c80
commit 087ac8470e

View File

@ -226,7 +226,7 @@ AppPanelMenu.prototype = {
let iconWidth = childBox.x2 - childBox.x1; 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); yPadding = Math.floor(Math.max(0, allocHeight - naturalHeight) / 2);
childBox.y1 = yPadding; childBox.y1 = yPadding;