summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJaakko Keränen <jaakko.keranen@iki.fi>2021-03-20 15:48:47 +0200
committerJaakko Keränen <jaakko.keranen@iki.fi>2021-03-20 15:48:47 +0200
commit362b47a3671a9c9edf51be8249e5ab0d2beb2f97 (patch)
tree1fbf062456293bbc35cbe98d56f654d696f14098 /src
parent3711a2fb7e84abf9ee9734d81e1f49f9a1f8877d (diff)
ScrollWidget: Disabled the fading out for now
Need to find a solution to the uneven refresh time issue.
Diffstat (limited to 'src')
-rw-r--r--src/ui/scrollwidget.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ui/scrollwidget.c b/src/ui/scrollwidget.c
index 050681f4..b5b204a1 100644
--- a/src/ui/scrollwidget.c
+++ b/src/ui/scrollwidget.c
@@ -110,7 +110,9 @@ static void unfade_ScrollWidget_(iScrollWidget *d, float opacity) {
110 } 110 }
111 if (!d->willCheckFade) { 111 if (!d->willCheckFade) {
112 d->willCheckFade = iTrue; 112 d->willCheckFade = iTrue;
113 add_Periodic(periodic_App(), d, "scrollbar.fade"); 113 /* TODO: This causes an inexplicable refresh issue on macOS: the drawing of one frame
114 takes 100ms for some reason (not the current frame but some time after). */
115// add_Periodic(periodic_App(), d, "scrollbar.fade");
114 } 116 }
115 refresh_Widget(d); 117 refresh_Widget(d);
116} 118}