kopia lustrzana https://github.com/backface/turtlestitch
Fixed #83
rodzic
0c4779f028
commit
ed3b9d1959
3
gui.js
3
gui.js
|
@ -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 ///////////////////////////////////////////////////////
|
||||
|
|
|
@ -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:
|
||||
|
|
Ładowanie…
Reference in New Issue