From bf35f3a21a7eed4d4f6c7714e65cdce23e535db9 Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 5 Oct 2007 21:31:59 +0000 Subject: (svn r11211) -Fix [FS#1302]: NewGRF GUI scrollbar does funny things when being resized. --- src/newgrf_gui.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/newgrf_gui.cpp b/src/newgrf_gui.cpp index 224236a0a..453673fc5 100644 --- a/src/newgrf_gui.cpp +++ b/src/newgrf_gui.cpp @@ -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; } } -- cgit v1.2.3-54-g00ecf