Changeset - r15820:b2d0b329b941
[Not reviewed]
master
0 1 0
rubidium - 14 years ago 2010-08-15 23:42:36
rubidium@openttd.org
(svn r20509) -Change: don't cycle (quickly) through the shade states. Just make scrolling up shade the window and scrolling down unshade it. (avdg)
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/window.cpp
Show inline comments
 
@@ -446,7 +446,7 @@ static void DispatchMouseWheelEvent(Wind
 

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

	
0 comments (0 inline, 0 general)