forked from qt-creator/qt-creator
Saturate colors some more and use color selection from base class
The original colors were hard to discern from the background on certain devices. Change-Id: I276f2cd76e0a1be40040bf5a0557a288d10d37d9 Reviewed-by: Erik Verbruggen <erik.verbruggen@digia.com>
This commit is contained in:
@@ -103,7 +103,7 @@ QColor SceneGraphTimelineModel::getColor(int index) const
|
||||
double fpsFraction = 1 / (eventDuration * 60.0);
|
||||
if (fpsFraction > 1.0)
|
||||
fpsFraction = 1.0;
|
||||
return QColor::fromHsl((fpsFraction*96)+10, 76, 166);
|
||||
return getFractionColor(fpsFraction);
|
||||
}
|
||||
|
||||
QString labelForSGType(int t)
|
||||
|
||||
Reference in New Issue
Block a user