min/max constraints cause out of bounds freezing
isusanin opened this issue · 1 comments
isusanin commented
Steps to reproduce:
- create a circle at (0, 0)
- create a variable called slider and initialize to 0.0
- set X of circle to min(5.0, max(0.0, slider))
- Set control of circle to X/slider
Now drag the circle quickly. You'll notice that you can easily get the slider value below 0.0 or above 5.0, violating the constraint. When this happens, the circle also gets stuck and you can't drag it anymore.
electronicwhisper commented
I'm going to mark this a duplicate of issue #12, constraining variables within bounds.