Skip to content

Commit

Permalink
Merge pull request #7285 from adridavid/doubleclick-untrack
Browse files Browse the repository at this point in the history
Untrack entity when double-clicking away
  • Loading branch information
Hannah authored Dec 27, 2018
2 parents 8abdfaf + 551be0d commit bb8e7c4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS.md
Original file line number Diff line number Diff line change
Expand Up @@ -201,3 +201,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu
* [Mussab Abdalla](https://github.com/baloola)
* [Mirco Kroon](https://github.com/mircokroon)
* [Rikku-x](https://github.com/Rikku-x)
* [Adrien David](https://github.com/adridavid)
2 changes: 2 additions & 0 deletions Source/Widgets/Viewer/Viewer.js
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,8 @@ Either specify options.terrainProvider instead or set options.baseLayerPicker to
} else {
that.zoomTo(entity);
}
} else if (defined(that.trackedEntity)) {
that.trackedEntity = undefined;
}
}

Expand Down

0 comments on commit bb8e7c4

Please sign in to comment.