1
0
Fork 0

(svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized.

release/0.6
rubidium 2007-10-05 21:31:59 +00:00
parent 1e73368d48
commit bf35f3a21a
1 changed files with 1 additions and 0 deletions

View File

@ -515,6 +515,7 @@ static void NewGRFWndProc(Window *w, WindowEvent *e)
case WE_RESIZE:
w->vscroll.cap += e->we.sizing.diff.y / 14;
w->widget[SNGRFS_FILE_LIST].data = (w->vscroll.cap << 8) + 1;
SetupNewGRFWindow(w);
break;
}
}