mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Change the zoom level on globe if no coordinates are set
As flo269 suggested in bug #507, a full view of Earth would be better when a dive has no coordinates. Fixes #507 Reported-by: flo269 Signed-off-by: Claudiu Olteanu <olteanu.claudiu@ymail.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
ec202890b7
commit
b3da88478f
1 changed files with 1 additions and 1 deletions
|
@ -294,7 +294,7 @@ void GlobeGPS::zoomOutForNoGPS()
|
|||
// we show a dive with GPS location we need to zoom in again
|
||||
if (fixZoomTimer->isActive())
|
||||
fixZoomTimer->stop();
|
||||
setZoom(1200, Marble::Automatic);
|
||||
setZoom(0, Marble::Automatic);
|
||||
if (!needResetZoom) {
|
||||
needResetZoom = true;
|
||||
currentZoomLevel = zoom();
|
||||
|
|
Loading…
Add table
Reference in a new issue