mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r12651) -Fix (r12644) [FS#1915]: Dropdown widget width should be one pixel less than window width, not one more.
This commit is contained in:
parent
6379c30d26
commit
63116691a9
@ -258,7 +258,7 @@ void ShowDropDownList(Window *w, DropDownList *list, int selected, int button, u
|
||||
_dropdown_menu_widgets);
|
||||
|
||||
dw->widget[0].color = wi->color;
|
||||
dw->widget[0].right = width + 1;
|
||||
dw->widget[0].right = width - 1;
|
||||
dw->widget[0].bottom = height - 1;
|
||||
|
||||
dw->SetWidgetHiddenState(1, !scroll);
|
||||
|
Loading…
Reference in New Issue
Block a user