diff --git a/js/ui/iconGrid.js b/js/ui/iconGrid.js index 765bd2b1e..e65f9668a 100644 --- a/js/ui/iconGrid.js +++ b/js/ui/iconGrid.js @@ -147,6 +147,11 @@ BaseIcon.prototype = { size = found ? len : ICON_SIZE; } + // don't create icons unnecessarily + if (size == this.iconSize && + this._iconBin.child) + return; + this._createIconTexture(size); } };