Force a refresh when changing render colors

This fixes Cairo not updating until mouse is moved over the canvas
This commit is contained in:
Jon Evans 2018-01-06 16:16:24 -05:00 committed by jean-pierre charras
parent a06e3bef33
commit ce8c2752f9
1 changed files with 1 additions and 1 deletions

View File

@ -645,7 +645,7 @@ void PCB_LAYER_WIDGET::OnRenderColorChange( int aId, COLOR4D aColor )
if( aId == LAYER_PCB_BACKGROUND )
view->UpdateLayerColor( LAYER_PADS_PLATEDHOLES );
galCanvas->Refresh();
galCanvas->ForceRefresh();
}
myframe->GetCanvas()->Refresh();