[gnome-maps] mapWalker: Remove unneded center_on call



commit c98cf21215ef5a62baae781d9027f3ffaffe8fc6
Author: Damián Nohales <damiannohales gmail com>
Date:   Thu Sep 11 13:32:56 2014 -0300

    mapWalker: Remove unneded center_on call
    
    center_on is already called in zoomToFit method.

 src/mapWalker.js |    1 -
 1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/mapWalker.js b/src/mapWalker.js
index ea6a14a..247fd9e 100644
--- a/src/mapWalker.js
+++ b/src/mapWalker.js
@@ -101,7 +101,6 @@ const MapWalker = new Lang.Class({
         this._mapView.emit('going-to');
 
         if (!animate) {
-            this._view.center_on(this.place.location.latitude, this.place.location.longitude);
             this._view.animate_zoom = false;
             this.zoomToFit();
             this._view.animate_zoom = true;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]