[panel.js] Remove duplicated 'let'
Original fix from Maxim Ermilov <zaspire@rambler.ru>
This commit is contained in:
parent
3ce89e3c80
commit
087ac8470e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user