iconGrid: don't force icon size to the BaseIcon
Since we might get a scaled up version for HiDpi. https://bugzilla.gnome.org/show_bug.cgi?id=705410
This commit is contained in:
parent
fc719c19f9
commit
9cc1017912
@ -143,11 +143,6 @@ const BaseIcon = new Lang.Class({
|
|||||||
this.icon = this.createIcon(this.iconSize);
|
this.icon = this.createIcon(this.iconSize);
|
||||||
|
|
||||||
this._iconBin.child = this.icon;
|
this._iconBin.child = this.icon;
|
||||||
|
|
||||||
// The icon returned by createIcon() might actually be smaller than
|
|
||||||
// the requested icon size (for instance StTextureCache does this
|
|
||||||
// for fallback icons), so set the size explicitly.
|
|
||||||
this._iconBin.set_size(this.iconSize, this.iconSize);
|
|
||||||
},
|
},
|
||||||
|
|
||||||
_onStyleChanged: function() {
|
_onStyleChanged: function() {
|
||||||
|
Loading…
Reference in New Issue
Block a user