You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[Win32] Correct zoom level used for image of decorations/shell #2037
When setting the images for a decorations instance (in particular for a
shell) or when updating them upon a zoom change, the two images best
fitting to sizes required by the OS in their 100% version are
calculated. Then, however, a zoomed version of the image is used based
on the auto-scaled zoom of the decorations object. This zoom is,
however, completely unrelated to what is required, as the auto-scaled
zoom was not taken into account for identifying the best fitting image
before.
In the best case, a zoomed version of the image exactly fitting to the
size required by the OS would be generated. This would be possible via
auto-scaling the image (or in case of SVGs rendering it at the desired
size), but this would also lead to bad results if a simple auto-scaling
mode was used. Thus, the best possible solution is to use the 100%
version of the image, as its size does best fit to the required sizes as
conforming to the calculation done before.
Contributes to
#2037
0 commit comments