summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjmoenig <jens@moenig.org>2014-07-29 12:33:26 +0200
committerjmoenig <jens@moenig.org>2014-07-29 12:33:26 +0200
commit5ce2d13413e8b6f4a6d6438da8c97e6839de786e (patch)
tree79686efd4549cb1094be384a2781e477a49b2011
parent061852ee328199b30b3e82445de88c08b1cdd916 (diff)
downloadsnap-5ce2d13413e8b6f4a6d6438da8c97e6839de786e.tar.gz
snap-5ce2d13413e8b6f4a6d6438da8c97e6839de786e.zip
added ‘move’ option to the sprite context menu
lets the user move (nested) sprites in edit mode without changing their layering, and also sprites marked “undraggable”
-rwxr-xr-xhistory.txt1
-rw-r--r--objects.js1
2 files changed, 2 insertions, 0 deletions
diff --git a/history.txt b/history.txt
index 3d25768..b05d24a 100755
--- a/history.txt
+++ b/history.txt
@@ -2245,3 +2245,4 @@ ______
* Objects, GUI: duplicate and clone nested sprites
* GUI, Store: export and import nested sprites
* Objects: double clicking on a sprite in the stage selects it in the IDE
+* Objects: added ‘move’ option to the sprite context menu, lets the user move (nested) sprites in edit mode without changing their layering, and also sprites marked “undraggable”
diff --git a/objects.js b/objects.js
index 646d498..c4c4eb8 100644
--- a/objects.js
+++ b/objects.js
@@ -2618,6 +2618,7 @@ SpriteMorph.prototype.userMenu = function () {
}
menu.addItem("duplicate", 'duplicate');
menu.addItem("delete", 'remove');
+ menu.addItem("move", 'move');
menu.addItem("edit", 'edit');
menu.addLine();
if (this.anchor) {