1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-21 14:50:06 +02:00

Add a comment, pertinent to scrolling

This commit is contained in:
Paul Licameli 2016-05-17 12:18:40 -04:00
parent 95ccc417d8
commit c01e5dc6b8

View File

@ -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() ||