aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--doc/ScintillaHistory.html3
-rw-r--r--src/Indicator.cxx4
2 files changed, 5 insertions, 2 deletions
diff --git a/doc/ScintillaHistory.html b/doc/ScintillaHistory.html
index 84fbe36e7..3e2e96561 100644
--- a/doc/ScintillaHistory.html
+++ b/doc/ScintillaHistory.html
@@ -600,6 +600,9 @@
<a href="https://sourceforge.net/p/scintilla/bugs/2193/">Bug #2193</a>.
</li>
<li>
+ Fixed bug where gradient indicators were not showing hovered appearance.
+ </li>
+ <li>
For SciTE, don't show the output pane for quiet jobs.
<a href="https://sourceforge.net/p/scintilla/feature-requests/1365/">Feature #1365</a>.
</li>
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: