kopia lustrzana https://github.com/backface/turtlestitch
fixed #2941
rodzic
232c3e1eb4
commit
b99d4aaf6f
|
@ -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!
|
||||
|
|
|
@ -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);
|
||||
|
|
Ładowanie…
Reference in New Issue