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:
parent
418c4dfacb
commit
a461b7a273
@ -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?*/>;
|
||||
|
Loading…
x
Reference in New Issue
Block a user