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: