Skip to content
Commit 5d1893c9 authored by Amy spark's avatar Amy spark 👉
Browse files

Fix sizing of preview images

There are inconsistencies in the resizing when the image is either too
small or the height is bigger than the width.

Applying the centering correction against maxIconSize will cause parts
of the image to be chopped off if the iconSize is smaller than the
result size.

Also draw preview in high res on Hi-DPI displays.

BUG: 447805
(cherry picked from commit 7770a821)
parent e2cfa765
Pipeline #121102 skipped with stage
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment