Cataclysm-DDA icon indicating copy to clipboard operation
Cataclysm-DDA copied to clipboard

Clamp size of loading screen image so loading screen text always shows

Open RenechCDDA opened this issue 1 year ago • 1 comments

Summary

Bugfixes "GUI Loading screen shows progress again"

Purpose of change

  • Fixes #76359

Describe the solution

Clamp the size of the loading screen image so that there's always room for the text image

This should preserve aspect ratio of the image, for real this time!

Describe alternatives you've considered

Stretch the image to use all available space?!

Testing

Here's another one, with a dummy 1 pixel wide blank image image

Additional context

RenechCDDA avatar Sep 11 '24 14:09 RenechCDDA

Hmm I notice the source image for our loading screen is 1365x1024, and so it ends up stretching the aspect ratio despite what I wrote in the comments. Let's see if I can avoid any stretching/compression that changes the aspect ratio.

RenechCDDA avatar Sep 11 '24 14:09 RenechCDDA

@RenechCDDA could you please resolve conflicts?

Night-Pryanik avatar Sep 28 '24 04:09 Night-Pryanik

I have been wasting all my free time on Satisfactory, hopefully I'll get back to this today

RenechCDDA avatar Sep 28 '24 23:09 RenechCDDA