-
Notifications
You must be signed in to cha 8000 nge notification settings - Fork 3.8k
Stack wiggle is gone or much reduced #8194
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
Comments
Hello, I would like to give this issue a try! |
@SantoshPisini go for it! Let me know if you have any questions =) |
@BeksOmega I'm unable to repro this issue locally(at /tests/playground.html). If there anything that I need to do to repo this? |
Hmm in my testing it seems to be inconsistent, sometimes the wiggliness is the same as on https://blockly.games/turtle?lang=en&level=10#qttj9u and sometimes it's much reduced. So I don't have any additional repo steps for you, but the inconsistency may mean there's a race condition making it hard for you to repro. |
On busier pages or slower machines the wiggle is sometimes lost due to skipped frames and a high chance of the skew calculation rounding to 0. This changes to using a counter for the skew which provides a more consistent animation. Also sets the timeout to 15ms instead of 10 to avoid double updates since 60fps is ~16 ms.
On busier pages or slower machines the wiggle is sometimes lost due to skipped frames and a high chance of the skew calculation rounding to 0. This changes to using a counter for the skew which provides a more consistent animation. Also sets the timeout to 15ms instead of 10 to avoid double updates since 60fps is ~16 ms.
…8743) * Fix google#8194 by using animation steps for the wiggle * Formatting cleanup
Check for duplicates
Description
When disconnecting a stack of blocks, the stack should wiggle. This used to be clearly visible, as demonstrated here:
https://blockly.games/turtle?lang=en&level=10#qttj9u
However the current published version of Blockly either doesn't have a wiggle at all, or else the wiggle is tiny. This inconsistency smells like a race condition.
Reproduction steps
Stack trace
No response
Screenshots
No response
Browsers
Chrome desktop, Firefox desktop
The text was updated successfully, but these errors were encountered: