mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
HTML: rescale dive profile with page zoom in/out
Rescale the dive profile view with page zooming in and out. Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com> Signed-off-by: Miika Turkia <miika.turkia@gmail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
03df7b989d
commit
0122b1a6d7
1 changed files with 4 additions and 0 deletions
|
@ -1081,3 +1081,7 @@ function switchDives(e)
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
window.onresize = function(event) {
|
||||
plot1.replot( { resetAxes: true } );
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue