Skip to content
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

min/max constraints cause out of bounds freezing #18

Closed
isusanin opened this issue Oct 6, 2015 · 1 comment
Closed

min/max constraints cause out of bounds freezing #18

isusanin opened this issue Oct 6, 2015 · 1 comment

Comments

@isusanin
Copy link

isusanin commented Oct 6, 2015

Steps to reproduce:

  1. create a circle at (0, 0)
  2. create a variable called slider and initialize to 0.0
  3. set X of circle to min(5.0, max(0.0, slider))
  4. 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
Copy link
Collaborator

I'm going to mark this a duplicate of issue #12, constraining variables within bounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants