Author: alink
Date: Sun Apr  8 21:05:34 2007
New Revision: 16697

URL: http://svn.gna.org/viewcvs/wesnoth?rev=16697&view=rev
Log:
Change the horizontal mousewheel key to alt instead of shift. Shift was 
already used by fast forward and the general opinion seemed in favor of 
alt. Mac users will maybe disagree but let's hope that, in the future, 
we can change this in preferences.

Modified:
    trunk/src/mouse_events.cpp

Modified: trunk/src/mouse_events.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/mouse_events.cpp?rev=16697&r1=16696&r2=16697&view=diff
==============================================================================
--- trunk/src/mouse_events.cpp (original)
+++ trunk/src/mouse_events.cpp Sun Apr  8 21:05:34 2007
@@ -996,7 +996,7 @@
                struct CKey pressed;
                // Shift + mousewheel do a horizontal scroll
                // This emulates normal-outside-of-SDL Mac OS X behavior
-               if (pressed[SDLK_LSHIFT] || pressed[SDLK_RSHIFT])
+               if (pressed[SDLK_LALT] || pressed[SDLK_RALT])
                        gui_->scroll(speed,0);
                else
                        gui_->scroll(0,speed);


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to