mirror of https://github.com/OpenTTD/OpenTTD
Change: Reduce size of waypoint matrix to 3 x 2.
parent
0513a6ccb0
commit
b54d7f15ac
|
@ -2022,9 +2022,9 @@ struct BuildRailWaypointWindow : PickerWindowBase {
|
||||||
{
|
{
|
||||||
switch (widget) {
|
switch (widget) {
|
||||||
case WID_BRW_WAYPOINT_MATRIX:
|
case WID_BRW_WAYPOINT_MATRIX:
|
||||||
/* Three blobs high and wide. */
|
/* Two blobs high and three wide. */
|
||||||
size->width += resize->width * 2;
|
size->width += resize->width * 2;
|
||||||
size->height += resize->height * 2;
|
size->height += resize->height * 1;
|
||||||
|
|
||||||
/* Resizing in X direction only at blob size, but at pixel level in Y. */
|
/* Resizing in X direction only at blob size, but at pixel level in Y. */
|
||||||
resize->height = 1;
|
resize->height = 1;
|
||||||
|
|
Loading…
Reference in New Issue