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
@ -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…
x
Reference in New Issue
Block a user