IsExecuting Icon working
This commit is contained in:
1 parent
4fd842263d
commit
18081ba640
3 files changed
+18
-8
No files matched your search
@@ -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)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user