diff options
| author | jmoenig <jens@moenig.org> | 2013-04-03 12:03:34 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-04-03 12:03:34 +0200 |
| commit | 18821f7bc1807b6ae199e2c207a865439ee6167f (patch) | |
| tree | ea996b1b5e634bca04f756bdc9f93fadb51d5e3f /blocks.js | |
| parent | 4804d8cfc82ecaad3e0906090994f6e804243b01 (diff) | |
| download | snap-yow-18821f7bc1807b6ae199e2c207a865439ee6167f.tar.gz snap-yow-18821f7bc1807b6ae199e2c207a865439ee6167f.zip | |
PrototypeHatBlocks accept anchored comments
You can now "stick" comments to the prototype hat block in the block
editor
Diffstat (limited to 'blocks.js')
| -rw-r--r-- | blocks.js | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -153,7 +153,7 @@ DialogBoxMorph, BlockInputFragmentMorph, PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.blocks = '2013-April-02'; +modules.blocks = '2013-April-03'; var SyntaxElementMorph; var BlockMorph; @@ -4223,7 +4223,6 @@ ScriptsMorph.prototype.closestBlock = function (comment, hand) { all, function (block) { return !block.comment - && !(block instanceof PrototypeHatBlockMorph) && !block.isPrototype && block.bounds.containsPoint(handPos); } @@ -4236,7 +4235,6 @@ ScriptsMorph.prototype.closestBlock = function (comment, hand) { all, function (block) { return !block.comment - && !(block instanceof PrototypeHatBlockMorph) && !block.isPrototype && block.bounds.intersects(fb); } |
