1
0
Fork 0

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

release/1.1
rubidium 2010-08-15 23:42:36 +00:00
parent 71ff3c4bb4
commit 12b8822277
1 changed files with 1 additions and 1 deletions

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