-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Implement block shapes to latest spec #99
Closed
Closed
Changes from 50 commits
Commits
Show all changes
51 commits
Select commit
Hold shift + click to select a range
daaff2f
Fix new hat radii and sizing #72
tmickel 3b413be
Fix metrics.width computation for Carl's spec
tmickel 05d5118
Fix metrics.height computation for Carl's spec
tmickel 700e047
Fix positioning of notches
tmickel 6d17e1a
Color updates from specs
tmickel 6409e35
NOTCH_PATH_DOWN to spec #93
tmickel 159365c
NOTCH_PATH_UP to spec #93
tmickel a56f9ff
Spacing in NOTCH_PATH_UP, startHat comment
tmickel 5a5bb3e
Fix icon sizing and spacing
tmickel c7f8f7e
Stroke width to spec
tmickel 918f6f7
Add pixel to connectionX to account for stroke
tmickel 63382b0
Remove Blockly transparency on drag
tmickel b40992a
Fix block connection to overlap previous block
tmickel 405b29e
Update NOTCH_WIDTH and NOTCH_HEIGHT
tmickel d33ca3b
Revert 63382b07 for moving to different PR
tmickel 5fc6231
Move icon sizes to constants
tmickel eecb400
Fix new hat radii and sizing #72
tmickel f3a6651
Fix metrics.width computation for Carl's spec
tmickel 8b2b811
Fix metrics.height computation for Carl's spec
tmickel 9ae50b2
Fix positioning of notches
tmickel 73d39a4
Color updates from specs
tmickel 52780b3
NOTCH_PATH_DOWN to spec #93
tmickel 8aae190
NOTCH_PATH_UP to spec #93
tmickel f61f916
Spacing in NOTCH_PATH_UP, startHat comment
tmickel 8e162a4
Fix icon sizing and spacing
tmickel 4c2f883
Stroke width to spec
tmickel fdeafc6
Add pixel to connectionX to account for stroke
tmickel 3d20988
Remove Blockly transparency on drag
tmickel 57d870c
Fix block connection to overlap previous block
tmickel a09271a
Update NOTCH_WIDTH and NOTCH_HEIGHT
tmickel bddc226
Revert 63382b07 for moving to different PR
tmickel cea4186
Move icon sizes to constants
tmickel 8c4e012
Revert 6d17e1a3 for a separate PR
tmickel 77604a1
Merge branch 'feature/block-shape' of github.com:tmickel/scratch-bloc…
tmickel 3e59b8c
Revert 6d17e1a3 for a separate PR
tmickel 656901a
Fix rendering via SEP_SPACE_X and SEP_SPACE_Y
tmickel 48ba010
Remove constant in renderLeft_
tmickel 56b1e67
Refactor and fix renderCompute_
tmickel 2cef32d
Fix sizing of statement-block left side
tmickel 1433943
Fix connection X inside bay
tmickel d69df07
Don't add "height of tab" to this.width
tmickel 905bc57
Fix positioning of notches inside bay
tmickel 117904d
Fix icon positioning for endHat blocks
tmickel 96e4b79
Remove unused INNER_TOP_LEFT_CORNER and INNER_BOTTOM_LEFT_CORNER
tmickel b38beb4
Add grid unit and remove unused INLINE_PADDING_Y
tmickel 37717fa
Convert constants to grid units
tmickel 98e95cc
Use grid units in many places
tmickel 48c4d05
Remove unnecessary goog.math.size for icon
tmickel 3ced057
Remove "Add a bit of margin under blocks with no bottom tab."
tmickel dddd388
Fix metrics.endHat comparison (it's a bool)
tmickel 3a1e6ae
Replace remaining constant with GRID_UNIT
tmickel File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Oops, something went wrong.
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.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
Sorry, something went wrong.
This comment was marked as abuse.
Sorry, something went wrong.