mirror of
https://github.com/subsurface/subsurface.git
synced 2025-01-31 19:13:24 +00:00
Added the flag to ignore item transformations on the background.
The background should be a Pixmap and thus it cannot zoom in or out; this keeps it the same size always, the full height of the scene. Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
93d464fcb7
commit
cdb447434d
1 changed files with 1 additions and 0 deletions
|
@ -60,6 +60,7 @@ ProfileWidget2::ProfileWidget2(QWidget *parent) :
|
|||
scene()->addItem(item);
|
||||
}
|
||||
|
||||
background->setFlag(QGraphicsItem::ItemIgnoresTransformations);
|
||||
}
|
||||
|
||||
// Currently just one dive, but the plan is to enable All of the selected dives.
|
||||
|
|
Loading…
Add table
Reference in a new issue