-
Notifications
You must be signed in to change notification settings - Fork 3.8k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Insertion markers strobe when snap radius is increased #2217
Comments
This is because you also need to change CONNECTING_SNAP_RADIUS, which is how we add hysteresis to the snap radius. I don't think it makes sense to have an API for adjusting these values at runtime, would a comment that if you adjust one you need to adjust the other be appropriate? |
Thanks. Knowing about CONNECTING_SNAP_RADIUS solves the issue in Blockly Games. I'll leave this issue open so you can figure out if it's
Just some options to consider. |
Any fix to google/blockly#2217 may result in this change being no longer needed.
On develop, go to playground. Insertion markers work as expected.
On the console type:
Blockly.SNAP_RADIUS *= 2
Now insertion markers flicker badly.
The text was updated successfully, but these errors were encountered: