diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ui/widget.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ui/widget.c b/src/ui/widget.c index 385eb7e0..f670d85c 100644 --- a/src/ui/widget.c +++ b/src/ui/widget.c | |||
@@ -795,6 +795,7 @@ iBool processEvent_Widget(iWidget *d, const SDL_Event *ev) { | |||
795 | switch (ev->type) { | 795 | switch (ev->type) { |
796 | case SDL_USEREVENT: { | 796 | case SDL_USEREVENT: { |
797 | if (d->flags & overflowScrollable_WidgetFlag && | 797 | if (d->flags & overflowScrollable_WidgetFlag && |
798 | ~d->flags & visualOffset_WidgetFlag && | ||
798 | isCommand_UserEvent(ev, "widget.overflow")) { | 799 | isCommand_UserEvent(ev, "widget.overflow")) { |
799 | scrollOverflow_Widget_(d, 0); /* check bounds */ | 800 | scrollOverflow_Widget_(d, 0); /* check bounds */ |
800 | } | 801 | } |