diff options
| -rw-r--r-- | gui.js | 4 | ||||
| -rwxr-xr-x | history.txt | 1 |
2 files changed, 3 insertions, 2 deletions
@@ -69,7 +69,7 @@ SpeechBubbleMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.gui = '2014-July-30'; +modules.gui = '2014-September-22'; // Declarations @@ -1859,7 +1859,7 @@ IDE_Morph.prototype.newSpriteName = function (name, ignoredSprite) { stem = (ix < 0) ? name : name.substring(0, ix), count = 1, newName = stem, - all = this.sprites.asArray().filter( + all = this.sprites.asArray().concat(this.stage).filter( function (each) {return each !== ignoredSprite; } ).map( function (each) {return each.name; } diff --git a/history.txt b/history.txt index 848e906..cf09d79 100755 --- a/history.txt +++ b/history.txt @@ -2274,3 +2274,4 @@ ______ 140922 ------ * Blocks: Make upvars mutable +* GUI: fixed #585 (sprite name conflict with stage). Thanks, Michael, for the report! |
