kopia lustrzana https://github.com/backface/turtlestitch
sceneified "zoom blocks"
rodzic
b797189b0c
commit
2c18e60f82
|
@ -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
|
||||
|
|
|
@ -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();
|
||||
|
|
Ładowanie…
Reference in New Issue