From 2ecf8bd621ec0fc4f54885c7fead0501c3fb99db Mon Sep 17 00:00:00 2001 From: Luis Fernando Molina Date: Thu, 18 Apr 2019 16:03:29 +0200 Subject: [PATCH] Contrained to the Time Machine --- TimeMachine.js | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/TimeMachine.js b/TimeMachine.js index d270ac491..4a3cbf44c 100644 --- a/TimeMachine.js +++ b/TimeMachine.js @@ -240,7 +240,12 @@ function newTimeMachine () { } } } - return this.container + + if (thisObject.container.frame.isThisPointHere(point) === true) { + return thisObject.container + } else { + return + } } function recalculateScale () {