diff options
author | frosch <frosch@openttd.org> | 2013-06-08 16:52:33 +0000 |
---|---|---|
committer | frosch <frosch@openttd.org> | 2013-06-08 16:52:33 +0000 |
commit | d79b2b03d0b7fdc088e1eef05d8d12ebf1190b77 (patch) | |
tree | c1a41895e2136cf089caddd77a9fcbf534ca74d7 | |
parent | 5bb1d01af92868333e9e326ae5a111aaab80a338 (diff) | |
download | openttd-d79b2b03d0b7fdc088e1eef05d8d12ebf1190b77.tar.xz |
(svn r25334) -Fix: Position the linkgraph legend window automatically like most windows.
-rw-r--r-- | src/linkgraph/linkgraph_gui.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/linkgraph/linkgraph_gui.cpp b/src/linkgraph/linkgraph_gui.cpp index b69d18411..f272d287c 100644 --- a/src/linkgraph/linkgraph_gui.cpp +++ b/src/linkgraph/linkgraph_gui.cpp @@ -381,7 +381,7 @@ assert_compile(WID_LGL_SATURATION_LAST - WID_LGL_SATURATION_FIRST == 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) |