kopia lustrzana https://github.com/backface/turtlestitch
update undrop controls when switching sprites and display modes
rodzic
e5b7559247
commit
81a0d30032
5
gui.js
5
gui.js
|
|
@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/
|
||||||
|
|
||||||
// Global stuff ////////////////////////////////////////////////////////
|
// Global stuff ////////////////////////////////////////////////////////
|
||||||
|
|
||||||
modules.gui = '2016-December-19';
|
modules.gui = '2016-December-25';
|
||||||
|
|
||||||
// Declarations
|
// Declarations
|
||||||
|
|
||||||
|
|
@ -1358,6 +1358,7 @@ IDE_Morph.prototype.createSpriteEditor = function () {
|
||||||
this.spriteEditor.contents.acceptsDrops = true;
|
this.spriteEditor.contents.acceptsDrops = true;
|
||||||
|
|
||||||
scripts.scrollFrame = this.spriteEditor;
|
scripts.scrollFrame = this.spriteEditor;
|
||||||
|
scripts.updateUndropControls();
|
||||||
this.add(this.spriteEditor);
|
this.add(this.spriteEditor);
|
||||||
this.spriteEditor.scrollX(this.spriteEditor.padding);
|
this.spriteEditor.scrollX(this.spriteEditor.padding);
|
||||||
this.spriteEditor.scrollY(this.spriteEditor.padding);
|
this.spriteEditor.scrollY(this.spriteEditor.padding);
|
||||||
|
|
@ -4475,6 +4476,8 @@ IDE_Morph.prototype.toggleAppMode = function (appMode) {
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
// update undrop controls
|
||||||
|
this.currentSprite.scripts.updateUndropControls();
|
||||||
}
|
}
|
||||||
this.setExtent(this.world().extent()); // resume trackChanges
|
this.setExtent(this.world().extent()); // resume trackChanges
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -3215,6 +3215,11 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
|
||||||
------
|
------
|
||||||
* Objects: tweaked reporterize infixParser
|
* Objects: tweaked reporterize infixParser
|
||||||
|
|
||||||
|
161225
|
||||||
|
------
|
||||||
|
* GUI: update undrop controls when switching sprites and display modes
|
||||||
|
|
||||||
|
|
||||||
== v4.10 === (in development)
|
== v4.10 === (in development)
|
||||||
|
|
||||||
Features:
|
Features:
|
||||||
|
|
|
||||||
Ładowanie…
Reference in New Issue