From b42f94e27ba09c3088a3ee012e8873a7eae6e2c5 Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Sat, 15 Sep 2018 12:55:53 +0200 Subject: [PATCH] Eeschema, Cairo backend: fix a minor but annoying render issue. --- common/draw_panel_gal.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/draw_panel_gal.cpp b/common/draw_panel_gal.cpp index 46e712567f..eff0505b03 100644 --- a/common/draw_panel_gal.cpp +++ b/common/draw_panel_gal.cpp @@ -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