summaryrefslogtreecommitdiff
path: root/src/ui/widget.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui/widget.c')
-rw-r--r--src/ui/widget.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c
index 6ce5e02a..1ab16b4f 100644
--- a/src/ui/widget.c
+++ b/src/ui/widget.c
@@ -1256,8 +1256,6 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) {
1256 if (ev->motion.y > bottomLimit) { 1256 if (ev->motion.y > bottomLimit) {
1257 speed = -(ev->motion.y - bottomLimit) / (float) hoverScrollLimit; 1257 speed = -(ev->motion.y - bottomLimit) / (float) hoverScrollLimit;
1258 } 1258 }
1259 printf("my:%d bottomLimit:%d => %f (%d)\n", ev->motion.y, bottomLimit, speed
1260 ,isOverflowScrollPossible_Widget_(d, speed)); fflush(stdout);
1261 } 1259 }
1262 const int dir = speed > 0 ? 1 : -1; 1260 const int dir = speed > 0 ? 1 : -1;
1263 if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, dir)) { 1261 if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, dir)) {