mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-11 16:54:42 +00:00
(svn r25334) -Fix: Position the linkgraph legend window automatically like most windows.
This commit is contained in:
parent
5bb1d01af9
commit
d79b2b03d0
@ -381,7 +381,7 @@ assert_compile(WID_LGL_SATURATION_LAST - WID_LGL_SATURATION_FIRST ==
|
|||||||
lengthof(LinkGraphOverlay::LINK_COLOURS) - 1);
|
lengthof(LinkGraphOverlay::LINK_COLOURS) - 1);
|
||||||
|
|
||||||
static WindowDesc _linkgraph_legend_desc(
|
static WindowDesc _linkgraph_legend_desc(
|
||||||
WDP_MANUAL, "toolbar_linkgraph", 300, 314,
|
WDP_AUTO, "toolbar_linkgraph", 0, 0,
|
||||||
WC_LINKGRAPH_LEGEND, WC_NONE,
|
WC_LINKGRAPH_LEGEND, WC_NONE,
|
||||||
0,
|
0,
|
||||||
_nested_linkgraph_legend_widgets, lengthof(_nested_linkgraph_legend_widgets)
|
_nested_linkgraph_legend_widgets, lengthof(_nested_linkgraph_legend_widgets)
|
||||||
|
Loading…
Reference in New Issue
Block a user