Cleaning
This commit is contained in:
1 parent
9d8a6415c5
commit
32a0abfbe7
2 files changed
+1
-4
No files matched your search
@@ -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 () {
|
||||
|
||||
+1
-1
@@ -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)
|
||||
|
||||
|
||||
Reference in new issue
Block a user