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

Problem with fast inserting discs #3

Open
MahmoudShaltoot opened this issue Apr 13, 2018 · 1 comment
Open

Problem with fast inserting discs #3

MahmoudShaltoot opened this issue Apr 13, 2018 · 1 comment

Comments

@MahmoudShaltoot
Copy link

when i tried to insert some of discs after each other ,Only red or yellow discs are inserted that's because of the animation that take 0.5 sec ,So this statement redMove = !redMove; can't be reachable if you clicked the mouse in duration less than 0.5 sec ,This line of code should be executed before the animation line
TranslateTransition animation = new TranslateTransition(Duration.seconds(0.5), disc);

@MahmoudShaltoot MahmoudShaltoot changed the title problem with fast inserting a discs Problem with fast inserting discs Apr 13, 2018
@p2kr
Copy link

p2kr commented Feb 3, 2021

when i tried to insert some of discs after each other ,Only red or yellow discs are inserted that's because of the animation that take 0.5 sec ,So this statement redMove = !redMove; can't be reachable if you clicked the mouse in duration less than 0.5 sec ,This line of code should be executed before the animation line
TranslateTransition animation = new TranslateTransition(Duration.seconds(0.5), disc);

Please tell the location of file and line no.

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