diff options
author | Lubomir I. Ivanov <neolit123@gmail.com> | 2014-03-10 17:59:02 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-03-10 09:02:31 -0700 |
commit | 41cec17cfffb2dfc6d8b10ec9619f81a3bc9416d (patch) | |
tree | 5b6b7f086837fd1613b081f799d7c848037cdde5 /webservice.h | |
parent | 324b8cbff1a5ee9ab0fe2ec04183bb9c0c821dc1 (diff) | |
download | subsurface-41cec17cfffb2dfc6d8b10ec9619f81a3bc9416d.tar.gz |
Profile2: reset the zoom level when a new profile is drawn
If the user has zoomed in but then changes to a new dive,
we may want to reset the scale back to the original value (1.0)
based on the current zoomLevel, so that the profile is not stuck
in zoomed mode.
This patch adds a snippet that resets the QGraphicsView scale,
zoomLevel variable and also the toolTip position.
Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'webservice.h')
0 files changed, 0 insertions, 0 deletions