Fix: small scenery details group box is unnecessarily big (#20016)

Small mistake from d46f981f03 that I only noticed just now.
This commit is contained in:
Hielke Morsink 2023-04-22 14:31:03 +02:00 committed by GitHub
parent cdccb21dd5
commit c88fe4d2d2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -36,6 +36,7 @@
- Fix: [#19955] Mine Train Roller Coaster has incorrect supports on the sloped left small turn (original bug).
- Fix: [#19987] [Plugin] SetCheatAction has wrong ID in plugin API.
- Fix: [#19991] Crash using cut-away view.
- Fix: [#20016] The group box for small scenery details in the Tile Inspector window has unused empty space.
0.4.4 (2023-03-28)
------------------------------------------------------------------------

View File

@ -327,7 +327,7 @@ static Widget TrackWidgets[] = {
};
constexpr int32_t NumSceneryProperties = 4; // The checkbox groups both count for 2 rows
constexpr int32_t NumSceneryDetails = 4;
constexpr int32_t NumSceneryDetails = 3;
constexpr int32_t SceneryPropertiesHeight = 16 + NumSceneryProperties * 21;
constexpr int32_t SceneryDetailsHeight = 20 + NumSceneryDetails * 11;
static Widget SceneryWidgets[] = {