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

pull/155/head
rubidium 14 years ago
parent 38d9d87434
commit 55427e4062

@ -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;
}

Loading…
Cancel
Save