add reporter block shapes mod - only color for now#20
Conversation
|
Will try to review soon, but probably won't be available today; thanks for the submission! |
|
I think for object-shaped reporters, you can apply a function wrap for fixLayout, moving everything more to the right to make space for the block shape. I'm not sure if this would work well for C-Slots, though. |
|
@codingisfun2831t What in the world is this meant to do? Do you have a screenshot demonstrating this addon at work? |
|
It just makes the shape for any reporter returning a color (via the new reports type feature in Snap! 12) and then changes that to a rectangle to mimic the color input. It also makes "pen color" have that shaped also (via the same technique as |
I think it's supposed to add the block shapes that Snavanced adds (square, "object" shaped, etc...) |
|
Ill fix the flatEdge and Split! support tomorrow, but I dont think the "static, readonly" slots thing really fits. If you think that looks like that, dont use the mod! |
Thanks. I also feel like you could also/instead make string blocks square, as text inputs are also square. Possibly as an option? |
Thankfully, I see everything you and others say about my mod on the forums, but these are so interesting that I'm surprised, thanks for giving some feedback to Snavanced! |
|
Nice! Would you be able to make a PR for it to my codingisfun2831t-mods branch (or just commit it to that outright) |
|
@d016 Your version of the mod looks good, but why is it a seperate file? Would I be able to change it to reporter-block-shapes.js? |
whoops... you can change it! |





I wanted to add object but I couldn't change the layout code.
I'm going to do a clipboard thing next but first I want to fix up wrapFunction with the one I was using in the sparkle class.