maoschanz / appfolders-manager-gnome-extension

A GNOME extension allowing easy management of "appfolders" directly from the applications grid.
GNU General Public License v3.0
94 stars 24 forks source link

fix a folder display bug when adding apps to folder #93

Closed Sindweller closed 4 years ago

Sindweller commented 4 years ago

use icons[i].icon._createIconTexture(icons[i].icon.iconSize) to repaint the folderIcon could avoid the appIcon become bigger and bigger when adding to a folder. that's probably because let size = icons[i].icon._iconBin.width; can not get the correct value under system display scale more than 100%. I've test this change on Fedora30, this may help to fix #82 as well, thanks!