From 6bfb2a0c2dd7ab78393893de1b45581a0f7ea2d6 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi
Date: Sat, 6 Nov 2021 11:55:42 +0200
Subject: [PATCH 1/1] Cleanup
src/ui/widget.c | 2 --
1 file changed, 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) {
if (ev->motion.y > bottomLimit) {
speed = -(ev->motion.y - bottomLimit) / (float) hoverScrollLimit;
}
printf("my:%d bottomLimit:%d => %f (%d)\n", ev->motion.y, bottomLimit, speed
,isOverflowScrollPossible_Widget_(d, speed)); fflush(stdout);
}
const int dir = speed > 0 ? 1 : -1;
if (speed != 0.0f && isOverflowScrollPossible_Widget_(d, dir)) {
--
2.25.1
text/plain
This content has been proxied by September (ba2dc).