Decrease scrolling speed on Maemo, it is too high
This commit is contained in:
parent
9d9f50059f
commit
fac628a1b4
1 changed files with 11 additions and 0 deletions
|
@ -169,6 +169,17 @@ void DoScrollArea(int state, bool fast)
|
|||
stepy = 0;
|
||||
}
|
||||
|
||||
#ifdef USE_MAEMO
|
||||
// Decrease scrolling speed on Maemo, it is too high
|
||||
if (state & ScrollUp || state & ScrollDown) {
|
||||
stepy /= 4;
|
||||
}
|
||||
|
||||
if (state & ScrollLeft || state & ScrollRight) {
|
||||
stepx /= 4;
|
||||
}
|
||||
#endif
|
||||
|
||||
if (state & ScrollUp) {
|
||||
stepy = -stepy;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue