ajmas / StuffInSpace

A real-time interactive WebGL visualisation of objects in Earth orbit
https://ajmas.github.io/StuffInSpace/
24 stars 9 forks source link

Selected Orbit Buffer Removed During On Hover Event #37

Closed thkruz closed 9 months ago

thkruz commented 9 months ago

If you select a satellite it creates a green hover orbit line, but as soon as the on hover event is fired it removes that line. Original functionality is to have the selected orbit remain visible until a new orbit is selected or the user selects clicks empty space (satellite id -1), at which point the buffer should be cleared.

ajmas commented 9 months ago

Ooh that's a bug.

Playing with the UI I see that the selected satellite stays green even when the highlighted line gets removed, suggesting the issue is in the Orbits class.

ajmas commented 9 months ago

Resolved