1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-17 00:20:06 +02:00

Possible fix for intermittent assertion violations at Linux startup

This commit is contained in:
Paul Licameli 2020-02-29 17:13:53 -05:00
parent 418c4dfacb
commit a461b7a273

View File

@ -41,6 +41,9 @@ void OverlayPanel::ClearOverlays()
void OverlayPanel::DrawOverlays(bool repaint_all, wxDC *pDC)
{
if ( !IsShownOnScreen() )
return;
size_t n_pairs = mOverlays.size();
using Pair = std::pair<wxRect, bool /*out of date?*/>;