[gnome-maps] MapView: Use kinetic mode



commit ae15a1a25aa6002fc3c759b446f5dca5d8ed541b
Author: Mattias Bengtsson <mattias jc bengtsson gmail com>
Date:   Thu Jul 31 22:28:46 2014 +0200

    MapView: Use kinetic mode
    
    With kinetic mode turned on Maps feels more smooth.
    
    Thanks to Dario who stumbled over this property.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=734078

 src/mapView.js |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index ce913a9..3ac6624 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -75,6 +75,7 @@ const MapView = new Lang.Class({
         view.min_zoom_level = MapMinZoom;
         view.goto_animation_mode = Clutter.AnimationMode.EASE_IN_OUT_CUBIC;
         view.reactive = true;
+        view.kinetic_mode = true;
 
         view.connect('notify::latitude', this._onViewMoved.bind(this));
         view.connect('notify::longitude', this._onViewMoved.bind(this));


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