Merge pull request #69 from AAMasters/develop
Less cycles to restart the plotter
This commit is contained in:
2 files changed
+4
-3
No files matched your search
@@ -113,7 +113,7 @@ function newRestartSimulation () {
|
||||
thisObject.status = 'Restarting'
|
||||
await graphQlRestartSimulation(simulationParams)
|
||||
thisObject.status = 'Calculating'
|
||||
counterTillNextState = 2000
|
||||
counterTillNextState = 250
|
||||
} else {
|
||||
thisObject.status = 'Error'
|
||||
counterTillNextState = 500
|
||||
@@ -165,7 +165,7 @@ function newRestartSimulation () {
|
||||
case 'Calculating':
|
||||
thisObject.status = 'Refreshing'
|
||||
turnOffProductCards()
|
||||
counterTillNextState = 250
|
||||
counterTillNextState = 50
|
||||
break
|
||||
case 'Refreshing':
|
||||
thisObject.status = 'Ready'
|
||||
@@ -276,3 +276,4 @@ function newRestartSimulation () {
|
||||
browserCanvasContext.fillText(label, labelPoint.x, labelPoint.y)
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1730,7 +1730,7 @@ function newStrategyPartConstructor () {
|
||||
floatingObject.targetFriction = FRICTION
|
||||
floatingObject.friction = INITIAL_FRICTION
|
||||
|
||||
floatingObject.initializeMass(20)
|
||||
floatingObject.initializeMass(50)
|
||||
floatingObject.initializeRadius(35)
|
||||
floatingObject.initializeImageSize(60)
|
||||
floatingObject.initializeFontSize(10)
|
||||
|
||||
Reference in new issue
Block a user