Speedup scrolling with the scroll wheel: this seems to vary from app to app,

BeMail uses 2, Terminal (under Dano) 4, and Tracker as well as pe 3 - so 3 seems
to be a good compromise.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@15763 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler 2005-12-31 11:35:59 +00:00
parent 34dcf66837
commit aa9196b83e

View File

@ -3664,7 +3664,7 @@ BView::MessageReceived(BMessage *msg)
if (modifiers() & B_OPTION_KEY)
deltaX *= largeStep;
else
deltaX *= smallStep;
deltaX *= smallStep * 3;
horizontal->SetValue(horizontal->Value() + deltaX);
}
@ -3676,7 +3676,7 @@ BView::MessageReceived(BMessage *msg)
if (modifiers() & B_OPTION_KEY)
deltaY *= largeStep;
else
deltaY *= smallStep;
deltaY *= smallStep * 3;
vertical->SetValue(vertical->Value() + deltaY);
}