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!
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 becauselet 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!