From e9020b4ed3f7190dc78e622fbe3b2665e227c30f Mon Sep 17 00:00:00 2001 From: jmoenig Date: Thu, 19 Dec 2013 17:54:40 +0100 Subject: fixed saving/loading of new mouse coordinate watchers --- objects.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'objects.js') diff --git a/objects.js b/objects.js index 9f75a98..41b511d 100644 --- a/objects.js +++ b/objects.js @@ -124,7 +124,7 @@ PrototypeHatBlockMorph*/ // Global stuff //////////////////////////////////////////////////////// -modules.objects = '2013-December-18'; +modules.objects = '2013-December-19'; var SpriteMorph; var StageMorph; @@ -3972,7 +3972,7 @@ StageMorph.prototype.getLastMessage = function () { // StageMorph Mouse Corridnates StageMorph.prototype.reportMouseX = function () { - var world = this.world(); + var world = this.world(); if (world) { return (world.hand.position().x - this.center().x) / this.scale; } @@ -6045,7 +6045,7 @@ WatcherMorph.prototype.object = function () { WatcherMorph.prototype.isGlobal = function (selector) { return contains( ['getLastAnswer', 'getLastMessage', 'getTempo', 'getTimer', - 'reportMouseX', 'reportMouseY'], + 'reportMouseX', 'reportMouseY'], selector ); }; -- cgit v1.3.1