summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
authorGubolin <gubolin@fantasymail.de>2014-12-07 11:53:51 +0100
committerGubolin <gubolin@fantasymail.de>2014-12-07 11:53:51 +0100
commit278c72442a914255602ef5beb9ebdb716e6fae4c (patch)
tree80a68ab32f844f4f1691e8e1a19016c563aa3012 /objects.js
parent22a09b5019ecf7eea6cffd67ae4404987e44135c (diff)
parentb7cc5efa244681727668b28ffb8d0eb3d4b95fb7 (diff)
downloadsnap-278c72442a914255602ef5beb9ebdb716e6fae4c.tar.gz
snap-278c72442a914255602ef5beb9ebdb716e6fae4c.zip
Merge remote-tracking branch 'origin/issue_71' into development
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js7
1 files changed, 5 insertions, 2 deletions
diff --git a/objects.js b/objects.js
index 3d6b0e5..7a51455 100644
--- a/objects.js
+++ b/objects.js
@@ -1466,8 +1466,11 @@ SpriteMorph.prototype.appearIn = function (ide) {
// SpriteMorph versioning
SpriteMorph.prototype.setName = function (string) {
- this.name = string || this.name;
- this.version = Date.now();
+ if (string != 'mouse-pointer' && string != 'pen trails'
+ && string != 'edge') { // used by system
+ this.name = string || this.name;
+ this.version = Date.now();
+ }
};
// SpriteMorph rendering