summaryrefslogtreecommitdiff
path: root/objects.js
diff options
context:
space:
mode:
Diffstat (limited to 'objects.js')
-rw-r--r--objects.js6
1 files changed, 1 insertions, 5 deletions
diff --git a/objects.js b/objects.js
index 1b7027f..f0a8697 100644
--- a/objects.js
+++ b/objects.js
@@ -4476,11 +4476,7 @@ Costume.prototype.edit = function (aWorld) {
dialog.fixLayout();
dialog.drawNew();
dialog.fixLayout();
- if (aWorld) {
- aWorld.add(dialog);
- aWorld.keyboardReceiver = dialog;
- dialog.setCenter(aWorld.center());
- }
+ dialog.popUp(aWorld);
};
// Costume thumbnail