mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Make heartrate grid less confusing
Having all the grid lines in the same color made things visually confusing. To clean this up a little make the heartrate lines a light gray color. Fixes #484 Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
dad3c5d9db
commit
2d24779b62
6 changed files with 8 additions and 4 deletions
|
@ -124,7 +124,7 @@ void emptyList(QList<T *> &list, double steps)
|
|||
}
|
||||
}
|
||||
|
||||
void DiveCartesianAxis::updateTicks()
|
||||
void DiveCartesianAxis::updateTicks(color_indice_t color)
|
||||
{
|
||||
if (!scene())
|
||||
return;
|
||||
|
@ -220,7 +220,7 @@ void DiveCartesianAxis::updateTicks()
|
|||
}
|
||||
DiveLineItem *line = new DiveLineItem(this);
|
||||
QPen pen;
|
||||
pen.setBrush(getColor(TIME_GRID));
|
||||
pen.setBrush(getColor(color));
|
||||
pen.setCosmetic(true);
|
||||
pen.setWidthF(2);
|
||||
line->setPen(pen);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue