1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-04-30 07:39:42 +02:00

Bug 2617 - Audacity not responding after switching to Envelope tool

This was caused by endless refreshing.
Disabling one refresh might have caused the screen not to refresh
at some point when it should, but I could not find such a case, and
this seems better than 'beachball' mode.
This commit is contained in:
James Crook 2021-01-01 15:12:50 +00:00
parent 05c6d62f78
commit 7143df28cc

View File

@ -325,9 +325,15 @@ 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
if (!oldCell && oldHandle != handle)
// Did not move cell to cell, but did change the target
refreshCode = updateFlags;
*/
if (handle && handle != oldHandle)
handle->Enter(true, GetProject());