IsExecuting Icon working

This commit is contained in:
Luis Fernando Molina committed 2019-05-20 01:45:53 +02:00
1 parent 4fd842263d
commit 18081ba640
3 files changed
+18 -8

No files matched your search

+8 -2
View File
@@ -41,8 +41,6 @@ function newRestartSimulation () {
}
function initialize () {
thisObject.container.frame.position.x = thisObject.container.parentContainer.frame.width * 80 / 100
thisObject.container.frame.position.y = 6
thisObject.container.frame.width = 250
thisObject.container.frame.height = COCKPIT_SPACE_HEIGHT - 12
@@ -170,6 +168,13 @@ function newRestartSimulation () {
}
}
}
positionPhysics()
}
function positionPhysics () {
thisObject.container.frame.position.x = thisObject.container.parentContainer.frame.width - thisObject.container.frame.width * 1.25
thisObject.container.frame.position.y = 6
}
function draw () {
@@ -256,3 +261,4 @@ function newRestartSimulation () {
browserCanvasContext.fillText(label, labelPoint.x, labelPoint.y)
}
}