From 362b47a3671a9c9edf51be8249e5ab0d2beb2f97 Mon Sep 17 00:00:00 2001 From: Jaakko Keränen Date: Sat, 20 Mar 2021 15:48:47 +0200 Subject: ScrollWidget: Disabled the fading out for now Need to find a solution to the uneven refresh time issue. --- src/ui/scrollwidget.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) { } if (!d->willCheckFade) { d->willCheckFade = iTrue; - add_Periodic(periodic_App(), d, "scrollbar.fade"); + /* TODO: This causes an inexplicable refresh issue on macOS: the drawing of one frame + takes 100ms for some reason (not the current frame but some time after). */ +// add_Periodic(periodic_App(), d, "scrollbar.fade"); } refresh_Widget(d); } -- cgit v1.2.3