=> 6390717f3c84c1a17c9f618b5d7244d3d9d10e6c
[1mdiff --git a/src/ui/widget.c b/src/ui/widget.c[m [1mindex 07e8e753..3e46a478 100644[m [1m--- a/src/ui/widget.c[m [1m+++ b/src/ui/widget.c[m [36m@@ -922,9 +922,12 @@[m [miBool dispatchEvent_Widget(iWidget *d, const SDL_Event *ev) {[m static iBool scrollOverflow_Widget_(iWidget *d, int delta) {[m iRect bounds = bounds_Widget(d);[m const iInt2 rootSize = size_Root(d->root);[m [31m- const iRect winRect = safeRect_Root(d->root);[m [31m- const int yTop = top_Rect(winRect);[m [31m- const int yBottom = bottom_Rect(winRect);[m [32m+[m[32m const iRect winRect = safeRect_Root(d->root);[m [32m+[m[32m const int yTop = top_Rect(winRect);[m [32m+[m[32m const int yBottom = bottom_Rect(winRect);[m [32m+[m[32m if (top_Rect(bounds) >= yTop && bottom_Rect(bounds) < yBottom) {[m [32m+[m[32m return iFalse; /* fits inside just fine */[m [32m+[m[32m }[m //const int safeBottom = rootSize.y - yBottom;[m bounds.pos.y += delta;[m const iRangei range = { bottom_Rect(winRect) - height_Rect(bounds), yTop };[m
text/gemini; charset=utf-8
This content has been proxied by September (ba2dc).