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:
parent
95ccc417d8
commit
c01e5dc6b8
@ -257,6 +257,9 @@ void ScrollBar::SetScrollbar(int position, int thumbSize,
|
|||||||
{
|
{
|
||||||
// Mitigate flashing of scrollbars by refreshing only when something really changes.
|
// 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 =
|
auto changed =
|
||||||
position != GetThumbPosition() ||
|
position != GetThumbPosition() ||
|
||||||
thumbSize != GetThumbSize() ||
|
thumbSize != GetThumbSize() ||
|
||||||
|
Loading…
x
Reference in New Issue
Block a user