Ensure high contrast mode gets a proper default value
Fixes https://gitlab.com/kicad/code/kicad/-/issues/4864
This commit is contained in:
parent
a94a81b9a8
commit
2ea42196ed
|
@ -63,6 +63,7 @@ PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
|
||||||
m_sketchText = false;
|
m_sketchText = false;
|
||||||
m_selectionCandidateColor = COLOR4D( 0.0, 1.0, 0.0, 0.75 );
|
m_selectionCandidateColor = COLOR4D( 0.0, 1.0, 0.0, 0.75 );
|
||||||
m_netColorMode = NET_COLOR_MODE::RATSNEST;
|
m_netColorMode = NET_COLOR_MODE::RATSNEST;
|
||||||
|
m_contrastModeDisplay = HIGH_CONTRAST_MODE::NORMAL;
|
||||||
|
|
||||||
// By default everything should be displayed as filled
|
// By default everything should be displayed as filled
|
||||||
for( unsigned int i = 0; i < arrayDim( m_sketchMode ); ++i )
|
for( unsigned int i = 0; i < arrayDim( m_sketchMode ); ++i )
|
||||||
|
|
Loading…
Reference in New Issue