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:
@@ -3664,7 +3664,7 @@ BView::MessageReceived(BMessage *msg)
|
|||||||
if (modifiers() & B_OPTION_KEY)
|
if (modifiers() & B_OPTION_KEY)
|
||||||
deltaX *= largeStep;
|
deltaX *= largeStep;
|
||||||
else
|
else
|
||||||
deltaX *= smallStep;
|
deltaX *= smallStep * 3;
|
||||||
|
|
||||||
horizontal->SetValue(horizontal->Value() + deltaX);
|
horizontal->SetValue(horizontal->Value() + deltaX);
|
||||||
}
|
}
|
||||||
@@ -3676,7 +3676,7 @@ BView::MessageReceived(BMessage *msg)
|
|||||||
if (modifiers() & B_OPTION_KEY)
|
if (modifiers() & B_OPTION_KEY)
|
||||||
deltaY *= largeStep;
|
deltaY *= largeStep;
|
||||||
else
|
else
|
||||||
deltaY *= smallStep;
|
deltaY *= smallStep * 3;
|
||||||
|
|
||||||
vertical->SetValue(vertical->Value() + deltaY);
|
vertical->SetValue(vertical->Value() + deltaY);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user