kopia lustrzana https://github.com/backface/turtlestitch
Reenable custom hat blocks when dropping a sprite
rodzic
ad25c6aefd
commit
345f635fac
|
@ -2871,3 +2871,6 @@ end - bulk of 151215
|
|||
------
|
||||
* == v4.0.5 ==== - table views
|
||||
|
||||
160306
|
||||
------
|
||||
* Objects: Reenable custom hat blocks when dropping a sprite
|
||||
|
|
|
@ -82,7 +82,7 @@ SpeechBubbleMorph, RingMorph, isNil, FileReader, TableDialogMorph,
|
|||
BlockEditorMorph, BlockDialogMorph, PrototypeHatBlockMorph, localize,
|
||||
TableMorph, TableFrameMorph*/
|
||||
|
||||
modules.objects = '2016-February-24';
|
||||
modules.objects = '2016-March-06';
|
||||
|
||||
var SpriteMorph;
|
||||
var StageMorph;
|
||||
|
@ -3291,6 +3291,10 @@ SpriteMorph.prototype.isCorrectingOutsideDrag = function () {
|
|||
};
|
||||
|
||||
SpriteMorph.prototype.justDropped = function () {
|
||||
var stage = this.parentThatIsA(StageMorph);
|
||||
if (stage) {
|
||||
stage.enableCustomHatBlocks = true;
|
||||
}
|
||||
this.restoreLayers();
|
||||
this.positionTalkBubble();
|
||||
this.receiveUserInteraction('dropped');
|
||||
|
|
Ładowanie…
Reference in New Issue