From c01e5dc6b86f713c622acbde25322779e6463d3c Mon Sep 17 00:00:00 2001 From: Paul Licameli Date: Tue, 17 May 2016 12:18:40 -0400 Subject: [PATCH] Add a comment, pertinent to scrolling --- src/Project.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/Project.cpp b/src/Project.cpp index f9bf9d073..ecda22389 100644 --- a/src/Project.cpp +++ b/src/Project.cpp @@ -257,6 +257,9 @@ void ScrollBar::SetScrollbar(int position, int thumbSize, { // Mitigate flashing of scrollbars by refreshing only when something really changes. + // PRL: This may have been made unnecessary by other fixes for flashing, see + // commit ac05b190bee7dd0000bce56edb0e5e26185c972f + auto changed = position != GetThumbPosition() || thumbSize != GetThumbSize() ||