jalberse / feriphys

Physics simulations for computer graphics, in Rust
GNU General Public License v3.0
2 stars 0 forks source link

Prevent camera from moving when mouse is dragged on UI #17

Open jalberse opened 2 years ago

jalberse commented 2 years ago

Currently, dragging a slider on the UI also causes the camera to move. We'd like to change this behavior so that if we're clicking within the UI, we don't effect the camera/view. We should ensure this is the case for all simulation demos.