jmoenig 2021-12-16 11:56:11 +01:00
rodzic 232c3e1eb4
commit b99d4aaf6f
2 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -9,11 +9,13 @@
* **Notable Fixes:**
* keep the order of sprites in the corral when saving newly created projects
* allow parens in project names (again)
* dropping a library or sprite file into presentation mode switches back to edit mode
* **Documentation Updates:**
* **Translation Updates:**
### 2021-12-14
* gui: removed some commented out code
* gui: fixed #2941
### 2021-12-14
* threads, lists: better support for multi-byte emojis with "split" and "unicode", thanks, Michael!

Wyświetl plik

@ -5682,9 +5682,11 @@ IDE_Morph.prototype.openBlocksString = function (str, name, silently) {
]);
};
IDE_Morph.prototype.rawOpenBlocksString = function (str, name, silently) {
IDE_Morph.prototype.rawOpenBlocksString = function (str, name, silently) { // +++
// name is optional (string), so is silently (bool)
var blocks;
this.toggleAppMode(false);
this.spriteBar.tabBar.tabTo('scripts');
if (Process.prototype.isCatchingErrors) {
try {
blocks = this.serializer.loadBlocks(str, this.stage);
@ -5728,6 +5730,8 @@ IDE_Morph.prototype.openSpritesString = function (str) {
};
IDE_Morph.prototype.rawOpenSpritesString = function (str) {
this.toggleAppMode(false);
this.spriteBar.tabBar.tabTo('scripts');
if (Process.prototype.isCatchingErrors) {
try {
this.serializer.loadSprites(str, this);