Bug fix for dark mode switch for layers palette.

Fixes https://gitlab.com/kicad/code/kicad/issues/13154
This commit is contained in:
Jeff Young 2023-01-06 20:42:35 +00:00
parent 5bdc3a5721
commit 94847336a1
1 changed files with 2 additions and 0 deletions

View File

@ -1152,6 +1152,8 @@ void APPEARANCE_CONTROLS::OnDarkModeToggle()
m_layerPanelColour = m_panelLayers->GetBackgroundColour().ChangeLightness( 110 );
m_windowLayers->SetBackgroundColour( m_layerPanelColour );
for( wxSizerItem* child : m_layersOuterSizer->GetChildren() )
{
if( child && child->GetWindow() )