mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
profile: move zooming/panning code to ProfileView
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
9ab7819fd1
commit
413b236867
4 changed files with 94 additions and 85 deletions
|
@ -255,7 +255,7 @@ void ProfileWidget::plotDive(dive *dIn, int dcIn)
|
|||
setDive(editedDive.get(), dc);
|
||||
} else if (d) {
|
||||
//view->setProfileState(d, dc);
|
||||
//view->resetZoom(); // when switching dive, reset the zoomLevel
|
||||
view->resetZoom(); // when switching dive, reset the zoomLevel
|
||||
view->plotDive(d, dc);
|
||||
setDive(d, dc);
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue