1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-30 09:59:10 +00:00

(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)

This commit is contained in:
rubidium
2010-08-15 23:42:36 +00:00
parent 71ff3c4bb4
commit 12b8822277

View File

@@ -446,7 +446,7 @@ static void DispatchMouseWheelEvent(Window *w, const NWidgetCore *nwid, int whee
/* Using wheel on caption/shade-box shades or unshades the window. */
if (nwid->type == WWT_CAPTION || nwid->type == WWT_SHADEBOX) {
w->SetShaded(!w->IsShaded());
w->SetShaded(wheel < 0);
return;
}