+ if (d > 128 || dist.y < 0) dest_pct = 0;
+ slowdown_scroll += delta;
+ if ( slowdown_scroll > SCROLL_DELAY ) {
+ slowdown_scroll = 0;
+ if (dist.x > SCROLL_DISTANCE) {
+ infoBox->scrolldown();
+ }
+ if( dist.x < -SCROLL_DISTANCE) {
+ infoBox->scrollup();
+ }
+ }