diff options
Diffstat (limited to 'src/Indicator.cxx')
-rw-r--r-- | src/Indicator.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx index f65b461ef..e43027837 100644 --- a/src/Indicator.cxx +++ b/src/Indicator.cxx @@ -28,7 +28,7 @@ using namespace Scintilla; void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &rcLine, const PRectangle &rcCharacter, State state, int value) const { StyleAndColour sacDraw = sacNormal; if (Flags() & SC_INDICFLAG_VALUEFORE) { - sacDraw.fore = ColourDesired(value & SC_INDICVALUEMASK); + sacDraw.fore = ColourAlpha::FromRGB(value & SC_INDICVALUEMASK); } if (state == State::hover) { sacDraw = sacHover; |