mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-16 00:12:51 +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);
|
_dropdown_menu_widgets);
|
||||||
|
|
||||||
dw->widget[0].color = wi->color;
|
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->widget[0].bottom = height - 1;
|
||||||
|
|
||||||
dw->SetWidgetHiddenState(1, !scroll);
|
dw->SetWidgetHiddenState(1, !scroll);
|
||||||
|
Loading…
Reference in New Issue
Block a user