Files
booksprite/plugins
Min S. Kim 2932a4a6a2 CoverImage: fix inconsistent vertical alignment of cover image (#14987)
Center the scaled cover image on both axes unconditionally instead
of branching on which dimension is the limiting factor. The branch
was susceptible to floating point rounding in math.floor causing
scaled_w to be 1 pixel less than s_w, flipping the alignment from
vertically centered to top-aligned depending on the cover's pixel
dimensions.

Fixes #14986.
2026-02-16 11:20:15 +01:00
..