mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Allow heat map to zoom
Setting the pen to non-cosmetic means the painted width scales when zoomed Signed-off-by: Rick Walsh <rickmwalsh@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ddc7f3dc98
commit
1cae1255d7
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ void DivePercentageItem::paint(QPainter *painter, const QStyleOptionGraphicsItem
|
|||
painter->save();
|
||||
QColor color;
|
||||
QPen mypen;
|
||||
mypen.setCosmetic(true);
|
||||
mypen.setCosmetic(false);
|
||||
mypen.setWidth(5);
|
||||
QPolygonF poly = polygon();
|
||||
for (int i = 0, modelDataCount = dataModel->rowCount(); i < modelDataCount; i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue