-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Better mouse controls for untracking entity #5959
Comments
Hi @SkinnyRat, thanks for the report! Setting |
@SkinnyRat The behavior you're seeing is intended, but I agree that we can probably improve this interaction. As far as I know, clicking the home button is the best way to un-track an entity after you double click it. Maybe we can remove the tracked entity when you double click away from it. In the meantime, if you want to disable the double click behavior, you can do so with this line: |
The top-left button on the info box also un-tracks a tracked entity. |
Ah I see... disabling double-clicks works for me. |
@hpinkos should this be re-opened? It's pretty unintuitive as it is right now. I also thought it was a bug, and it came up on the forum again here: https://groups.google.com/d/msg/cesium-dev/EIRyiQR5_fY/WENhsMl5AgAJ |
double-click might be better since the user won't have to know what's not clickable, especially for new users of an application. e.g. Double-clicking the sky box or the globe might give coordinates of the clicked location. |
right, and they have to double click the entity right now to track it, so double clicking away from it seems like a natural choice |
Congratulations on closing the issue! I found these Cesium forum links in the comments above: https://groups.google.com/d/msg/cesium-dev/EIRyiQR5_fY/WENhsMl5AgAJ If this issue affects any of these threads, please post a comment like the following:
I am a bot who helps you make Cesium awesome! Contributions to my configuration are welcome. 🌍 🌎 🌏 |
Before double-clicking on a GLTF object or similar, the controls are:
Left-click => Pan
Scroll-click => Rotate
After double-clicking, the controls get changed to:
Left-click => Rotate
Scroll-click => Disabled
Cesium version: 1.39
To replicate: Visit the sandcastle & double-click on the truck.
https://cesiumjs.org/Cesium/Build/Apps/Sandcastle/index.html?src=Physically-Based%20Materials.html&label=Showcases
My system: FireFox 54.0 (64-bit) on Ubuntu 16.04
Thanks!
The text was updated successfully, but these errors were encountered: