Changeset - r23186:99b56c436a5c
[Not reviewed]
master
0 1 0
J0an Josep - 6 years ago 2019-01-14 20:21:35
juanjo.ng.83@gmail.com
Fix: If screen size changes, windows are relocated and dropdown may not fit the screen.
1 file changed with 2 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -3516,8 +3516,9 @@ void ChangeVehicleViewports(VehicleID fr
 
 */
 
void RelocateAllWindows(int neww, int newh)
 
{
 
	DeleteWindowById(WC_DROPDOWN_MENU, 0);
 

	
 
	Window *w;
 

	
 
	FOR_ALL_WINDOWS_FROM_BACK(w) {
 
		int left, top;
 
		/* XXX - this probably needs something more sane. For example specifying
0 comments (0 inline, 0 general)