summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-06-06 11:56:47 +0200
committerjmoenig <jens@moenig.org>2014-06-06 11:56:47 +0200
commitdcd7fb92546d6e9d9b4bd7eeb7d15417cdba3d50 (patch)
tree4a5a3b479e9921992877058c83798197118dc3f3
parent9bbe9b2e0af9afd5d94d65d0f7399126c235384b (diff)
downloadsnap-yow-dcd7fb92546d6e9d9b4bd7eeb7d15417cdba3d50.tar.gz
snap-yow-dcd7fb92546d6e9d9b4bd7eeb7d15417cdba3d50.zip
enable relabelling blocks across categories
-rw-r--r--blocks.js1
-rwxr-xr-xhistory.txt1
2 files changed, 2 insertions, 0 deletions
diff --git a/blocks.js b/blocks.js
index 4890fa1..d5730b6 100644
--- a/blocks.js
+++ b/blocks.js
@@ -2268,6 +2268,7 @@ BlockMorph.prototype.relabel = function (alternativeSelectors) {
menu.addItem(
block,
function () {
+ myself.setCategory(SpriteMorph.prototype.blocks[sel].category);
myself.setSelector(sel);
}
);
diff --git a/history.txt b/history.txt
index 9a1ec59..72268f6 100755
--- a/history.txt
+++ b/history.txt
@@ -2163,3 +2163,4 @@ ______
* Objects: add hide and show blocks to the stage’s “looks” category
* Objects: added more relabelling options to SAY and THINK variants
* Blocks, objects: enable relabelling blocks with C-Slots
+* Blocks: enable relabelling blocks across categories