mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 18:33:23 +00:00
Make the cross hair less obnoxious on Mac
While on Linux it was drawn as fine 1px line, on Mac it came out rather fat and obnoxious by default. With this it's always set to a very thin line. This still needs more work, but let's leave it where it is for Beta 5. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
d960ac4039
commit
ebf1b8f624
1 changed files with 4 additions and 2 deletions
|
@ -162,8 +162,10 @@ void ProfileWidget2::addItemsToScene()
|
|||
scene()->addItem(rulerItem->destNode());
|
||||
scene()->addItem(mouseFollowerHorizontal);
|
||||
scene()->addItem(mouseFollowerVertical);
|
||||
mouseFollowerHorizontal->setPen(QPen(QColor(Qt::red).lighter()));
|
||||
mouseFollowerVertical->setPen(QPen(QColor(Qt::red).lighter()));
|
||||
QPen pen(QColor(Qt::red).lighter());
|
||||
pen.setWidth(0);
|
||||
mouseFollowerHorizontal->setPen(pen);
|
||||
mouseFollowerVertical->setPen(pen);
|
||||
Q_FOREACH (DiveCalculatedTissue *tissue, allTissues) {
|
||||
scene()->addItem(tissue);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue