Mercurial > hg > openttd
changeset 20379:1b19278ee629 draft
(svn r25334) -Fix: Position the linkgraph legend window automatically like most windows.
author | frosch <frosch@openttd.org> |
---|---|
date | Sat, 08 Jun 2013 16:52:33 +0000 (2013-06-08) |
parents | b9a9c5d20e9e |
children | 35882f86d0a7 |
files | src/linkgraph/linkgraph_gui.cpp |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/linkgraph/linkgraph_gui.cpp +++ b/src/linkgraph/linkgraph_gui.cpp @@ -381,7 +381,7 @@ lengthof(LinkGraphOverlay::LINK_COLOURS) - 1); static WindowDesc _linkgraph_legend_desc( - WDP_MANUAL, "toolbar_linkgraph", 300, 314, + WDP_AUTO, "toolbar_linkgraph", 0, 0, WC_LINKGRAPH_LEGEND, WC_NONE, 0, _nested_linkgraph_legend_widgets, lengthof(_nested_linkgraph_legend_widgets)