diff options
author | Darkvater <Darkvater@openttd.org> | 2006-12-07 12:57:53 +0000 |
---|---|---|
committer | Darkvater <Darkvater@openttd.org> | 2006-12-07 12:57:53 +0000 |
commit | 6049734c069365078564a30564512b4482289b7d (patch) | |
tree | 72f2261cc5f86c725dff7859d54397ee679c2d71 | |
parent | 5b4d3daf0ee7d1eb91ceaabca462c9df28986ca7 (diff) | |
download | openttd-6049734c069365078564a30564512b4482289b7d.tar.xz |
(svn r7414) -Fix: Immediately invalidate the resize widget when clicked, instead of when started to drag
-rw-r--r-- | window.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -132,6 +132,7 @@ static void DispatchLeftClickEvent(Window *w, int x, int y) if (w->desc_flags & WDF_RESIZABLE && wi->type == WWT_RESIZEBOX) { StartWindowSizing(w); + InvalidateWidget(w, e.we.click.widget); return; } |