Fix appicon padding scale factor on 3.32

Props to @bearoso
This commit is contained in:
Charles Gagnon
2019-03-10 22:39:56 -04:00
parent b7df90b8f1
commit 5d3b1cd13c

View File

@@ -746,7 +746,7 @@ var taskbar = Utils.defineClass({
// Getting the panel height and making sure that the icon padding is at
// least the size of the app running indicator on both the top and bottom.
let availSize = (this.panelWrapper.panel.actor.get_height() -
(this._dtpSettings.get_int('appicon-padding') * 2)) / scaleFactor;
(this._dtpSettings.get_int('appicon-padding') * 2 * scaleFactor)) / scaleFactor;
if (availSize == this.iconSize)
return;