[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/plain
This content has been proxied by September (ba2dc).