1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-29 15:19:44 +02:00

Fixing label track update on mouse movement

Signed-off-by: Panagiotis Vasilopoulos <hello@alwayslivid.com>
This commit is contained in:
Vitaly Sverchinsky 2021-08-06 19:47:54 +03:00 committed by Panagiotis Vasilopoulos
parent 379bcd9767
commit a64277fb55
No known key found for this signature in database
GPG Key ID: FD806FDB3B2C5270

View File

@ -325,15 +325,17 @@ void CellularPanel::HandleMotion
state.mLastCell = newCell;
/*
// These lines caused P2 Bug 2617, repeated refreshing using all CPU.
// Disabling them might be causing something to not refresh,
// but so far I have not found a downside to disabling them. JKC
// VS: https://github.com/audacity/audacity/issues/1363
// Extensive refresh request fixed by using std::move on
// new envelope handle instance
if (!oldCell && oldHandle != handle)
// Did not move cell to cell, but did change the target
refreshCode = updateFlags;
*/
// Did not move cell to cell, but did change the target
refreshCode = updateFlags;
if (handle && handle != oldHandle)
handle->Enter(true, GetProject());