update undrop controls when switching sprites and display modes

pull/29/head
jmoenig 2016-12-25 12:13:03 +01:00
rodzic e5b7559247
commit 81a0d30032
2 zmienionych plików z 9 dodań i 1 usunięć

5
gui.js
Wyświetl plik

@ -72,7 +72,7 @@ isRetinaSupported, SliderMorph, Animation*/
// Global stuff ////////////////////////////////////////////////////////
modules.gui = '2016-December-19';
modules.gui = '2016-December-25';
// Declarations
@ -1358,6 +1358,7 @@ IDE_Morph.prototype.createSpriteEditor = function () {
this.spriteEditor.contents.acceptsDrops = true;
scripts.scrollFrame = this.spriteEditor;
scripts.updateUndropControls();
this.add(this.spriteEditor);
this.spriteEditor.scrollX(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
};

Wyświetl plik

@ -3215,6 +3215,11 @@ http://snap.berkeley.edu/run#cloud:Username=jens&ProjectName=rotation
------
* Objects: tweaked reporterize infixParser
161225
------
* GUI: update undrop controls when switching sprites and display modes
== v4.10 === (in development)
Features: