sceneified "zoom blocks"

snap7
jmoenig 2021-04-23 11:24:59 +02:00
rodzic b797189b0c
commit 2c18e60f82
2 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -12,6 +12,7 @@
* store: serialize sprite-order from scenes
* gui: sceneified refreshIDE()
* gui: sceneified toggling dynamic input labels and switching languages
* gui: sceneified "zoom blocks"
### 2021-04-22
* store, gui: first pass at deserializing multi-scene projects

Wyświetl plik

@ -6115,16 +6115,16 @@ IDE_Morph.prototype.userSetBlocksScale = function () {
);
};
IDE_Morph.prototype.setBlocksScale = function (num) { // +++ use refreshIDE()
IDE_Morph.prototype.setBlocksScale = function (num) {
var projectData;
if (Process.prototype.isCatchingErrors) {
try {
projectData = this.serializer.serialize(this.scene);
projectData = this.serializer.serialize(new Project(this.scenes));
} catch (err) {
this.showMessage('Serialization failed: ' + err);
}
} else {
projectData = this.serializer.serialize(this.scene);
projectData = this.serializer.serialize(new Project(this.scenes));
}
SyntaxElementMorph.prototype.setScale(num);
CommentMorph.prototype.refreshScale();