-
Notifications
You must be signed in to change notification settings - Fork 148
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
ObjectMouseOver
doesn't work after triggering SelectedChange
#237
Comments
Let me check it out |
Thank you @jscastro76 ! |
You're totally right, "ObjectMouseOver" is only fired if it's not the object selected... my fault surely when combining the different logics for objects/extrusions. I have just solved locally, I'll push the change today to the repo as the first issue of v2.2.3. But it won't be available as module until end of this week |
Sounds great! Thanks for letting me know. I can't wait to see the new version soon! |
Available for code testing and bundle use, not available yet as module until v2.2.3 is uploaded to npm |
Minor version by [@jscastro76](https://github.com/jscastro76), some enhancements and bugs. #### ✨ Enhancements - #243 Create a new example on terrain layer - New example on terrain layer with a 3D model aligned vertically [21-terrain.html](https://github.com/jscastro76/threebox/blob/master/examples/21-terrain.html) - #244 Darken the raster layer with realSunlight #### 🪲 Bug fixes - #233 map.setLight is not updated when tb.setStyle until the map moves - #237 `ObjectMouseOver` doesn't work after triggering `SelectedChange` - #241 KNOWN ISSUE: Terrain layer calculates wrongly the object height - #242 KNOWN ISSUE: Create a warning for sky layers when used with Mapbox < 2.0 #### 📝 Documentation - Updated [documentation](/examples/readme.md) - Updated [Threebox documentation](/docs/Threebox.md) (`terrain` attribute and property, `tb.createTerrainLayer`, `tb.updateSunGround`) - Updated [Examples](/examples) documentation (new terrain layer in 21).
Hi.
I am going to change cursor when tb object gets hovered. (Not pointer cursor) I added the change functionality under the ObjectMouseOver eventlistener. It works well until tb object is clicked. But once I click the tb object, the ObjectMouseOver eventlistener doesn't work. Maybe, tb object SelectedChange eventlistener blocks ObjectMouseOver
I shared the code snippet:
The text was updated successfully, but these errors were encountered: