[gnome-maps] MapView: Set view goto-animation-mode to LINEAR



commit 25519c4cb1e2a58eeb104fb8bd77ad027ed7fdfd
Author: Jonas Danielsson <jonas danielsson lundinova se>
Date:   Mon Sep 16 23:24:13 2013 +0300

    MapView: Set view goto-animation-mode to LINEAR
    
    This fixes the awkward looking goto animation and makes it very..linear.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=698505

 src/mapView.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 1c6b994..4e33358 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -60,6 +60,7 @@ const MapView = new Lang.Class({
         this.actor = this.get_view();
         this.view = this.actor;
         this.view.set_zoom_level(3);
+        this.view.goto_animation_mode = Clutter.AnimationMode.LINEAR;
         this.view.set_reactive(true);
 
         this.view.connect('notify::latitude', this._onViewMoved.bind(this));


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