time machine size gets dynamic

This commit is contained in:
Luis Fernando Molina committed 2020-03-16 11:11:02 +01:00
1 parent 5a80e7e737
commit 4563d41bcf
3 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -71,8 +71,8 @@ function newTimeMachine () {
thisObject.container.insideViewport = true
thisObject.container.detectMouseOver = true
thisObject.container.frame.width = TIME_MACHINE_WIDTH
thisObject.container.frame.height = TIME_MACHINE_HEIGHT
thisObject.container.frame.width = browserCanvas.width / TIME_MACHINE_WIDTH
thisObject.container.frame.height = (browserCanvas.height - TOP_SPACE_HEIGHT - COCKPIT_SPACE_HEIGHT) / TIME_MACHINE_HEIGHT
}
function finalize () {