Turned off mouse wheel support in BTabView to switch the tabs. I think that

functionality like this is mostly annoying with little use to be honest, but
other opinions are welcome, of course :-)

It reminds me too much about the insane workspace switching via the mouse
wheel in Ubuntu.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32008 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-07-31 01:24:21 +00:00
parent 7f1bf82c6e
commit 74b19566ee
+6
View File
@@ -8,6 +8,8 @@
* Stephan Aßmus <[email protected]> * Stephan Aßmus <[email protected]>
* Artur Wyszynski * Artur Wyszynski
*/ */
#include <TabView.h> #include <TabView.h>
#include <new> #include <new>
@@ -599,6 +601,7 @@ BTabView::MessageReceived(BMessage *message)
break; break;
} }
#if 0
case B_MOUSE_WHEEL_CHANGED: case B_MOUSE_WHEEL_CHANGED:
{ {
float deltaX = 0.0f; float deltaX = 0.0f;
@@ -621,7 +624,10 @@ BTabView::MessageReceived(BMessage *message)
// move to the left tab. // move to the left tab.
Select(selection - 1); Select(selection - 1);
} }
break;
} }
#endif
default: default:
BView::MessageReceived(message); BView::MessageReceived(message);
break; break;