From 18821f7bc1807b6ae199e2c207a865439ee6167f Mon Sep 17 00:00:00 2001 From: jmoenig Date: Wed, 3 Apr 2013 12:03:34 +0200 Subject: PrototypeHatBlocks accept anchored comments You can now "stick" comments to the prototype hat block in the block editor --- blocks.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'blocks.js') diff --git a/blocks.js b/blocks.js index f157d50..6805bca 100644 --- a/blocks.js +++ b/blocks.js @@ -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); } -- cgit v1.3.1