Bug fix for dark mode switch for layers palette.
Fixes https://gitlab.com/kicad/code/kicad/issues/13154
This commit is contained in:
parent
5bdc3a5721
commit
94847336a1
|
@ -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() )
|
||||
|
|
Loading…
Reference in New Issue