Comment 7 for bug 1892276

Revision history for this message
Tengda Han (htd95) wrote :

A possible fix:
In https://gitlab.gnome.org/World/ShellExtensions/desktop-icons/-/blob/master/fileItem.js#L373 (or locally /usr/share/gnome-shell/extensions/desktop-icons@csoriano/fileItem.js):
Replace: `let containerWidth = (this._icon.allocation.x2 - this._icon.allocation.x1) * scaleFactor;`
with `let containerWidth = (this._icon.allocation.x2 - this._icon.allocation.x1);`

The scaleFactor here is unnecessary.