aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2020-08-11 20:52:10 +1000
committerNeil <nyamatongwe@gmail.com>2020-08-11 20:52:10 +1000
commit4b03e5ff13d76cd5fb7c3604dd2e30b15fd04775 (patch)
tree7cd390a7c062289e8b8534302efcb73733735d8f /src
parent61aaee5cddbc546c90bf4962f32c3e237f05e033 (diff)
downloadscintilla-mirror-4b03e5ff13d76cd5fb7c3604dd2e30b15fd04775.tar.gz
Fixed bug where gradient indicators were not showing hovered appearance.
Diffstat (limited to 'src')
-rw-r--r--src/Indicator.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Indicator.cxx b/src/Indicator.cxx
index a09a64321..fda979242 100644
--- a/src/Indicator.cxx
+++ b/src/Indicator.cxx
@@ -172,8 +172,8 @@ void Indicator::Draw(Surface *surface, const PRectangle &rc, const PRectangle &r
rcBox.top = rcLine.top + 1;
rcBox.bottom = rcLine.bottom;
const Surface::GradientOptions options = Surface::GradientOptions::topToBottom;
- const ColourAlpha start(sacNormal.fore, fillAlpha);
- const ColourAlpha end(sacNormal.fore, 0);
+ const ColourAlpha start(sacDraw.fore, fillAlpha);
+ const ColourAlpha end(sacDraw.fore, 0);
std::vector<ColourStop> stops;
switch (sacDraw.style) {
case INDIC_GRADIENT: