[gnome-maps] userLocationMarker: Improve accuracy guard
- From: Jonas Danielsson <jonasdn src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-maps] userLocationMarker: Improve accuracy guard
- Date: Tue, 16 Sep 2014 05:35:41 +0000 (UTC)
commit 3af90b88c33cb8bd7f295b0871d06fdd4598e1ab
Author: Jonas Danielsson <jonas threetimestwo org>
Date: Fri Sep 12 22:10:07 2014 +0200
userLocationMarker: Improve accuracy guard
https://bugzilla.gnome.org/show_bug.cgi?id=736572
src/userLocationMarker.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/userLocationMarker.js b/src/userLocationMarker.js
index fe86d9c..970acd9 100644
--- a/src/userLocationMarker.js
+++ b/src/userLocationMarker.js
@@ -79,7 +79,7 @@ const UserLocationMarker = new Lang.Class({
this.add_actor(Utils.CreateActorFromIconName('user-location'));
- if (this.place.location.accuracy !== 0) {
+ if (this.place.location.accuracy > 0) {
this._accuracyMarker = new AccuracyCircleMarker({ place: this.place });
this._accuracyMarker.refreshGeometry(this._view);
this._zoomLevelId = this._view.connect('notify::zoom-level',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]