Force a refresh when changing render colors
This fixes Cairo not updating until mouse is moved over the canvas
This commit is contained in:
parent
a06e3bef33
commit
ce8c2752f9
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue