[gnome-maps] mapView: Only do onViewMove on latitude change
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] mapView: Only do onViewMove on latitude change
- Date: Thu, 5 Nov 2015 15:26:31 +0000 (UTC)
commit a32977fc2c7ced56a44ecc6a1ff3d0d619bbabe8
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Thu Nov 5 23:08:12 2015 +0800
mapView: Only do onViewMove on latitude change
src/mapView.js | 1 -
1 files changed, 0 insertions(+), 1 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 03a1022..7fb9e04 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -104,7 +104,6 @@ const MapView = new Lang.Class({
view.kinetic_mode = true;
view.connect('notify::latitude', this._onViewMoved.bind(this));
- view.connect('notify::longitude', this._onViewMoved.bind(this));
// switching map type will set view min-zoom-level from map source
view.connect('notify::min-zoom-level', (function() {
if (view.min_zoom_level < MapMinZoom) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]