diff --git a/ChartsSpace/TimeMachine.js b/ChartsSpace/TimeMachine.js index 6b2151936..3c5f50b83 100644 --- a/ChartsSpace/TimeMachine.js +++ b/ChartsSpace/TimeMachine.js @@ -53,9 +53,6 @@ function newTimeMachine () { thisObject.container.frame.width = TIME_MACHINE_WIDTH thisObject.container.frame.height = TIME_MACHINE_HEIGHT - - thisObject.container.frame.position.x = browserCanvas.width / 2 - TIME_MACHINE_WIDTH / 2 - thisObject.container.frame.position.y = browserCanvas.height / 2 - TIME_MACHINE_HEIGHT / 2 } function finalize () { diff --git a/Utilities.js b/Utilities.js index c4991c43d..37ee16d97 100644 --- a/Utilities.js +++ b/Utilities.js @@ -14,7 +14,7 @@ function transformThisPoint (point, container) { point = container.frame.frameThisPoint(point) - /* We viewport Transformation. */ + /* We pass this point through the viewPort lends, meaning we apply the viewPort zoom and displacement. */ point = viewPort.zoomThisPoint(point)