OpenTTD / OpenTTD

OpenTTD is an open source simulation game based upon Transport Tycoon Deluxe
https://www.openttd.org/
Other
6.02k stars 843 forks source link

Codefix: Use widget resize step instead of window resize step. #12659

Closed PeterN closed 3 weeks ago

PeterN commented 3 weeks ago

Motivation / Problem

Build Picker class list filter could be drawn incorrectly depending on how the window can be resized.

This does not affect the current picker windows.

image

Description

Use the class list widget's resize step (which is always correct) instead of the window resize step (which may not be...)

Limitations

Checklist for review

Some things are not automated, and forgotten often. This list is a reminder for the reviewers.