Details
-
Suggestion
-
Resolution: Fixed
-
Not Evaluated
-
Qt Creator 13.0.0
-
None
-
-
592d7f0c9 (13.0)
Description
static QColor calcBlendColor(const QColor &baseColor, int level, int count);
If count > 2, calcBlendColor(color, count - 1, count) == calcBlendColor(color, count - 2, count). They should be NOT same.
if (level == count) return baseColor; if (level == 0) return color80; if (level == count - 1) return color90; const int blendFactor = level * (256 / (count - 2)); return blendColors(color80, color90, blendFactor);
issue.png
suggested:
Attachments
For Gerrit Dashboard: QTCREATORBUG-30649 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
556583,2 | TextEditor: Fix calculating block highlight background color | 13.0 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |