Ensure high contrast mode gets a proper default value

Fixes https://gitlab.com/kicad/code/kicad/-/issues/4864
This commit is contained in:
Jon Evans 2020-07-12 11:34:58 -04:00
parent a94a81b9a8
commit 2ea42196ed
1 changed files with 1 additions and 0 deletions

View File

@ -63,6 +63,7 @@ PCB_RENDER_SETTINGS::PCB_RENDER_SETTINGS()
m_sketchText = false;
m_selectionCandidateColor = COLOR4D( 0.0, 1.0, 0.0, 0.75 );
m_netColorMode = NET_COLOR_MODE::RATSNEST;
m_contrastModeDisplay = HIGH_CONTRAST_MODE::NORMAL;
// By default everything should be displayed as filled
for( unsigned int i = 0; i < arrayDim( m_sketchMode ); ++i )