Conversation
Contributor
Author
|
@rachel-fenichel I've split up the dynamic connection logic so it's in the one spot. This is ready for another look |
rachel-fenichel
left a comment
Collaborator
There was a problem hiding this comment.
One question then lgtm
| return makeMainPath(height, true); | ||
| }, | ||
| pathRightDown: function(height) { | ||
| return makeMainPath(height, false, true); |
Collaborator
There was a problem hiding this comment.
Why are some of these passing three arguments and some passing two?
| Blockly.zelos.TopRow.prototype.hasLeftSquareCorner = function(_block) { | ||
| return false; | ||
| Blockly.zelos.TopRow.prototype.hasLeftSquareCorner = function(block) { | ||
| return block.outputConnection; |
Collaborator
There was a problem hiding this comment.
Does closure compiler complain about the types here? I expect a warning that the return type is supposed to be boolean, and is instead Blockly.Connection.
Contributor
Author
There was a problem hiding this comment.
Let me check, the correct way to do this is to do !!block.outputConnection.
Contributor
Author
There was a problem hiding this comment.
It sure does, good catch! Fixing
rachel-fenichel
approved these changes
Sep 6, 2019
4 of 6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The basics
The details
Resolves
#2977
Proposed Changes
This is just an initial PR, there's more work to be done here, but this gets us the following:

We still need to figure out how this should render for external inputs. #2978 tracking that.
I have removed the drawing of empty inline inputs in this change but hope to tackle that in a separate change: #2979
Reason for Changes
Rendering feature.
Additional Information