Fix typo.

Fixes https://gitlab.com/kicad/code/kicad/issues/12467
This commit is contained in:
Jeff Young 2022-09-22 10:52:52 +01:00
parent e27969217c
commit bb1eb94aa0
1 changed files with 1 additions and 1 deletions

View File

@ -112,7 +112,7 @@ void SCINTILLA_TRICKS::setupStyles()
// Set up the brace highlighting. Scintilla doesn't handle alpha, so we construct our own
// 20% wash by blending with the background.
KIGFX::COLOR4D braceText = highlightText;
KIGFX::COLOR4D braceText = foreground;
KIGFX::COLOR4D braceHighlight = braceText.Mix( background, 0.2 );
m_te->StyleSetForeground( wxSTC_STYLE_BRACELIGHT, highlightText.ToColour() );