Changeset - r77:288f6ba67c22
[Not reviewed]
master
0 1 0
darkvater - 20 years ago 2004-08-17 22:39:40
darkvater@openttd.org
(svn r78) -Fix: [1010830] Landscape toolbar in scenario editor shown at wrong position
1 file changed with 1 insertions and 2 deletions:
0 comments (0 inline, 0 general)
window.c
Show inline comments
 
@@ -531,8 +531,7 @@ Window *AllocateWindowDesc(const WindowD
 
		if (pt.x > _screen.width + 10 - desc->width)
 
			pt.x = (_screen.width + 10 - desc->width) - 20;
 
		pt.y = w->top + 10;
 
	// open Build Toolbars and Terraforming Toolbar aligned
 
	} else if (desc->cls == WC_BUILD_TOOLBAR || desc->cls == WC_SCEN_LAND_GEN) {
 
	} else if (desc->cls == WC_BUILD_TOOLBAR) {	// open Build Toolbars aligned
 
		/* Override the position if a toolbar is opened according to the place of the maintoolbar
 
		 * The main toolbar (WC_MAIN_TOOLBAR) is 640px in width */
 
		switch (_patches.toolbar_pos) {
0 comments (0 inline, 0 general)