1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-11-23 09:20:16 +01:00

Remove some unnecessary calls to FixScrollbars...

... because RedrawProject or HandleResize invokes it
This commit is contained in:
Paul Licameli
2019-06-26 12:25:23 -04:00
parent 73fb2a2a82
commit abe69ddd35
3 changed files with 0 additions and 4 deletions

View File

@@ -428,7 +428,6 @@ void TrackPanel::OnTimer(wxTimerEvent& )
if (projectAudioIO.GetAudioIOToken()>0 &&
!gAudioIO->IsAudioTokenActive(projectAudioIO.GetAudioIOToken()))
{
window.FixScrollbars();
projectAudioIO.SetAudioIOToken(0);
window.RedrawProject();
@@ -724,7 +723,6 @@ void TrackPanel::UpdateViewIfNoTracks()
// Bug 972
mViewInfo->h = 0;
mListener->TP_RedrawScrollbars();
mListener->TP_HandleResize();
GetProject()->SetStatus(wxT("")); //STM: Clear message if all tracks are removed
}