SimonBuxx / LogiJS

Discover and create logic circuits
https://logijs.com
GNU General Public License v3.0
42 stars 6 forks source link

TODO: Fix "Sync FPS" setting #14

Closed SimonBuxx closed 6 years ago

SimonBuxx commented 6 years ago

When "Sync FPS" is deactivated before starting the simulation, it's still active until it's activated and deactivated again. The same problem occurs when starting the simulation, deactivating "Sync FPS", stopping and then starting again.

SimonBuxx commented 6 years ago

Sync FPS seems to not work at all under Firefox... No idea why, did work in the past.

SimonBuxx commented 6 years ago

(Hopefully) done with my last commit. Non-synced update cycle is 10ms for two parallel setInterval() tickers. Might be too fast for slow machines, not an optimal solution but should work on most PCs