Changeset - r20324:bac1d1987064
[Not reviewed]
master
0 1 0
frosch - 11 years ago 2013-06-08 16:52:33
frosch@openttd.org
(svn r25334) -Fix: Position the linkgraph legend window automatically like most windows.
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/linkgraph/linkgraph_gui.cpp
Show inline comments
 
@@ -378,13 +378,13 @@ static const NWidgetPart _nested_linkgra
 
};
 

	
 
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)
 
);
 

	
 
/**
0 comments (0 inline, 0 general)