-
Notifications
You must be signed in to change notification settings - Fork 977
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
Feature: Wrap Block #2795
Feature: Wrap Block #2795
Conversation
0daf2cb
to
819d6d5
Compare
@meganindya can you please have a look at this?. Thanks |
The functionality is great. But there are several issues: |
Also, please create help artwork for the help block. |
@walterbender wrap block moved to the bottom of the palette, but I could not reproduce the with No INPUT ARG error message appearing when Wrap == on. Cloud you please provide some more details. Thanks |
We still need the help artwork... we can do that separately |
Implements #2750
The block is made a clamp block to avoid ambiguity as the wrapping tendency is also affected by the turtle wrapping that could be set in the toolbar globally.
Basic functionality of wrap block,
wrapping is on globally (from the toolbar) but if the wrapping is turned off in the
wrap
block then the statements within it don't wrapwrap_block_basic_functionality.mov
In the demonstration below, the horizontal rectangle is affected by global wrapping, vertical rectangle is affected by the settings of
wrap
block.wrap_block_global_wrap_on.mov
Wrap block inside fill
Wrapping should not happen in the middle of fill, even if wrapping is turned on in the wrap block inside fill then wrapping does not happen
global_on_local_on_wrap_inside_fill.mov
Nested Wrapping blocks
nested_wrap_blocks.mov