[gnome-maps] Fix up last commit
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] Fix up last commit
- Date: Wed, 11 Mar 2015 18:43:31 +0000 (UTC)
commit 4a981a0d3232558ba2539d49086ce9f52617ad0d
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Wed Mar 11 19:43:21 2015 +0100
Fix up last commit
src/mapView.js | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/mapView.js b/src/mapView.js
index 23a81c9..008964f 100644
--- a/src/mapView.js
+++ b/src/mapView.js
@@ -113,6 +113,8 @@ const MapView = new Lang.Class({
green: 0,
alpha: 100 });
+ let mode = Champlain.SelectionMode.SINGLE;
+
this._userLocationLayer = new Champlain.MarkerLayer({ selection_mode: mode });
this.view.add_layer(this._userLocationLayer);
@@ -120,7 +122,7 @@ const MapView = new Lang.Class({
stroke_color: strokeColor });
this.view.add_layer(this._routeLayer);
- let mode = Champlain.SelectionMode.SINGLE;
+
this._placeLayer = new Champlain.MarkerLayer({ selection_mode: mode });
this.view.add_layer(this._placeLayer);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]