diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-16 12:55:16 +0200 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-03-16 12:55:16 +0200 |
commit | 00d5ccfaa333d01f87fe06aefb4c8a58263261f8 (patch) | |
tree | 587e078a3f7a0f55175de25c8d58665025fc63f6 /src/ui/widget.c | |
parent | ce1ac1ba801d6f09ec028838d5fed863ffce6a9a (diff) |
Mobile: Fixed context menu animation
Position jumps when dismissing a menu.
Diffstat (limited to 'src/ui/widget.c')
-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 | } |