Eeschema, Cairo backend: fix a minor but annoying render issue.
This commit is contained in:
parent
88cdce8d62
commit
b42f94e27b
|
@ -175,10 +175,10 @@ void EDA_DRAW_PANEL_GAL::onPaint( wxPaintEvent& WXUNUSED( aEvent ) )
|
||||||
m_gal->BeginDrawing();
|
m_gal->BeginDrawing();
|
||||||
m_gal->SetClearColor( settings->GetBackgroundColor() );
|
m_gal->SetClearColor( settings->GetBackgroundColor() );
|
||||||
m_gal->SetCursorColor( settings->GetLayerColor( LAYER_CURSOR ) );
|
m_gal->SetCursorColor( settings->GetLayerColor( LAYER_CURSOR ) );
|
||||||
m_gal->ClearScreen( );
|
|
||||||
|
|
||||||
if( m_view->IsDirty() )
|
if( m_view->IsDirty() )
|
||||||
{
|
{
|
||||||
|
m_gal->ClearScreen();
|
||||||
m_view->ClearTargets();
|
m_view->ClearTargets();
|
||||||
|
|
||||||
// Grid has to be redrawn only when the NONCACHED target is redrawn
|
// Grid has to be redrawn only when the NONCACHED target is redrawn
|
||||||
|
|
Loading…
Reference in New Issue