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 | 5b9f884cd08091f29b889887a3c7e30a6ab0c7c7 (patch) | |
tree | 72f2261cc5f86c725dff7859d54397ee679c2d71 | |
parent | dc6eca9e16748a6734d275bb0aa26a9b1958ba8c (diff) | |
download | openttd-5b9f884cd08091f29b889887a3c7e30a6ab0c7c7.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; } |