mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-08-09 12:48:22 +01:00
In most places where we calculate and set widget resize step we neglect to set widget fill step to match. Initial widget sizing uses fill step instead of resize step, which means the initial size may not be a multiple of the resize step as intended. In particular this will cause WWT_MATRIX to be misrendered. Whether or not this matters depends on the widget type being resized and the window layout, however for consistency always set fill step to the same as resize step when calculating. |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
game_config.cpp | ||
game_config.hpp | ||
game_core.cpp | ||
game_gui.cpp | ||
game_gui.hpp | ||
game_info.cpp | ||
game_info.hpp | ||
game_instance.cpp | ||
game_instance.hpp | ||
game_scanner.cpp | ||
game_scanner.hpp | ||
game_text.cpp | ||
game_text.hpp | ||
game.hpp |