Decrease scrolling speed on Maemo, it is too high

This commit is contained in:
Pali Rohár 2010-11-12 22:42:09 +01:00
parent 9d9f50059f
commit fac628a1b4

View file

@ -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;
}