4863c498b2
When selecting the best icon size for the available area, we iterate from the biggest icon size to the smallest one, and stop when finding a size that fits the available area. However, the 'bestSize' variable is only updated when the available area is positive. This is problematic in super bad cases like when none of the icon sizes actually fit the availabe area, which was hit with a previous iteration of this branch. Make sure to update the best size while iterating, so that the smallest size is selected even in such bad cases. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/1510> |
||
---|---|---|
.. | ||
dbusServices | ||
gdm | ||
misc | ||
perf | ||
portalHelper | ||
ui | ||
js-resources.gresource.xml | ||
meson.build | ||
portal-resources.gresource.xml |