summaryrefslogtreecommitdiff
path: root/src/ui/scrollwidget.c
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 15:09:54 +0300
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-05-14 15:09:54 +0300
commit21b16be87fec3ec163fb52b94619ba5f3b5df6d2 (patch)
tree73df8c1469f9d7f4186b40ea7b8d34c5b6dfd7bf /src/ui/scrollwidget.c
parent7f737f1b88448a8a2ccca716a09e3b37fb0c08f9 (diff)
Mobile and iOS: Various fixes and cleanup
Several regressions occurred when the split view mode was implemented.
Diffstat (limited to 'src/ui/scrollwidget.c')
-rw-r--r--src/ui/scrollwidget.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/scrollwidget.c b/src/ui/scrollwidget.c
index 32b57c69..ff5144b2 100644
--- a/src/ui/scrollwidget.c
+++ b/src/ui/scrollwidget.c
@@ -108,7 +108,7 @@ static void unfade_ScrollWidget_(iScrollWidget *d, float opacity) {
108 d->fadeStart = SDL_GetTicks() + 1000; 108 d->fadeStart = SDL_GetTicks() + 1000;
109 if (targetValue_Anim(&d->opacity) < opacity) { 109 if (targetValue_Anim(&d->opacity) < opacity) {
110 setValue_Anim(&d->opacity, opacity, 66); 110 setValue_Anim(&d->opacity, opacity, 66);
111 addTicker_App(animateOpacity_ScrollWidget_, d); 111 addTickerRoot_App(animateOpacity_ScrollWidget_, as_Widget(d)->root, d);
112 } 112 }
113 if (!d->willCheckFade && d->fadeEnabled) { 113 if (!d->willCheckFade && d->fadeEnabled) {
114 d->willCheckFade = iTrue; 114 d->willCheckFade = iTrue;