Eeschema, Cairo backend: fix a minor but annoying render issue.

This commit is contained in:
jean-pierre charras 2018-09-15 12:55:53 +02:00 committed by Jeff Young
parent 88cdce8d62
commit b42f94e27b
1 changed files with 1 additions and 1 deletions

View File

@ -175,10 +175,10 @@ void EDA_DRAW_PANEL_GAL::onPaint( wxPaintEvent& WXUNUSED( aEvent ) )
m_gal->BeginDrawing();
m_gal->SetClearColor( settings->GetBackgroundColor() );
m_gal->SetCursorColor( settings->GetLayerColor( LAYER_CURSOR ) );
m_gal->ClearScreen( );
if( m_view->IsDirty() )
{
m_gal->ClearScreen();
m_view->ClearTargets();
// Grid has to be redrawn only when the NONCACHED target is redrawn