diff options
| author | jmoenig <jens@moenig.org> | 2013-04-30 12:39:09 +0200 |
|---|---|---|
| committer | jmoenig <jens@moenig.org> | 2013-04-30 12:39:09 +0200 |
| commit | ed3b9d1959a2b0a98ae9ce0eaf04356871ecd1e7 (patch) | |
| tree | 5e8aa51d096a7460841d799f285868d6786b4005 | |
| parent | 0c4779f02819d16355192e894a2fdc77bbf366e4 (diff) | |
| download | snap-byow-ed3b9d1959a2b0a98ae9ce0eaf04356871ecd1e7.tar.gz snap-byow-ed3b9d1959a2b0a98ae9ce0eaf04356871ecd1e7.zip | |
Fixed #83
| -rw-r--r-- | gui.js | 3 | ||||
| -rwxr-xr-x | history.txt | 2 | ||||
| -rw-r--r-- | morphic.js | 4 |
3 files changed, 6 insertions, 3 deletions
@@ -68,7 +68,7 @@ sb, CommentMorph, CommandBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2013-April-25'; +modules.gui = '2013-April-30'; // Declarations @@ -5053,6 +5053,7 @@ WardrobeMorph.prototype.reactToDropOf = function (icon) { }); this.sprite.costumes.add(costume, idx + 1); this.updateList(); + icon.mouseClickLeft(); // select }; // SoundIconMorph /////////////////////////////////////////////////////// diff --git a/history.txt b/history.txt index 6b5a3f5..0d4f780 100755 --- a/history.txt +++ b/history.txt @@ -1688,3 +1688,5 @@ ______ 130430 ------ * Objects: Costume shrink-wrapping +* Morphic: Allow triggers to be dragged if so specified (#83) +* GUI: select dragged costume @@ -1035,7 +1035,7 @@ /*global window, HTMLCanvasElement, getMinimumFontHeight, FileReader, Audio, FileList, getBlurredShadowSupport*/ -var morphicVersion = '2013-April-26'; +var morphicVersion = '2013-April-30'; var modules = {}; // keep track of additional loaded modules var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug @@ -8151,7 +8151,7 @@ TriggerMorph.prototype.mouseDoubleClick = function () { }; TriggerMorph.prototype.rootForGrab = function () { - return null; + return this.isDraggable ? TriggerMorph.uber.rootForGrab.call(this) : null; }; // TriggerMorph bubble help: |
