summaryrefslogtreecommitdiff
path: root/gui.js
diff options
context:
space:
mode:
Diffstat (limited to 'gui.js')
-rw-r--r--gui.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/gui.js b/gui.js
index 13d2071..7c4315c 100644
--- a/gui.js
+++ b/gui.js
@@ -241,9 +241,6 @@ IDE_Morph.prototype.init = function (isAutoFill) {
this.loadNewProject = false; // flag when starting up translated
this.shield = null;
- // initialize inherited properties:
- IDE_Morph.uber.init.call(this);
-
// Snap! YOW
// set initial sprite position after the map has loaded
// The map center is set at the same time as 'geoposition'
@@ -260,6 +257,9 @@ IDE_Morph.prototype.init = function (isAutoFill) {
window.map.getCenter().lat);
}
+ // initialize inherited properties:
+ IDE_Morph.uber.init.call(this);
+
// override inherited properites:
this.color = this.backgroundColor;
};