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 ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2013-April-25';
|
modules.gui = '2013-April-30';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
@ -5053,6 +5053,7 @@ WardrobeMorph.prototype.reactToDropOf = function (icon) {
|
||||||
});
|
});
|
||||||
this.sprite.costumes.add(costume, idx + 1);
|
this.sprite.costumes.add(costume, idx + 1);
|
||||||
this.updateList();
|
this.updateList();
|
||||||
|
icon.mouseClickLeft(); // select
|
||||||
};
|
};
|
||||||
|
|
||||||
// SoundIconMorph ///////////////////////////////////////////////////////
|
// SoundIconMorph ///////////////////////////////////////////////////////
|
||||||
|
|
|
@ -1688,3 +1688,5 @@ ______
|
||||||
130430
|
130430
|
||||||
------
|
------
|
||||||
* Objects: Costume shrink-wrapping
|
* 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,
|
/*global window, HTMLCanvasElement, getMinimumFontHeight, FileReader, Audio,
|
||||||
FileList, getBlurredShadowSupport*/
|
FileList, getBlurredShadowSupport*/
|
||||||
|
|
||||||
var morphicVersion = '2013-April-26';
|
var morphicVersion = '2013-April-30';
|
||||||
var modules = {}; // keep track of additional loaded modules
|
var modules = {}; // keep track of additional loaded modules
|
||||||
var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug
|
var useBlurredShadows = getBlurredShadowSupport(); // check for Chrome-bug
|
||||||
|
|
||||||
|
@ -8151,7 +8151,7 @@ TriggerMorph.prototype.mouseDoubleClick = function () {
|
||||||
};
|
};
|
||||||
|
|
||||||
TriggerMorph.prototype.rootForGrab = function () {
|
TriggerMorph.prototype.rootForGrab = function () {
|
||||||
return null;
|
return this.isDraggable ? TriggerMorph.uber.rootForGrab.call(this) : null;
|
||||||
};
|
};
|
||||||
|
|
||||||
// TriggerMorph bubble help:
|
// TriggerMorph bubble help:
|
||||||
|
|
Ładowanie…
Reference in New Issue