Combining oninput and onchange events for the FPS counter.
Merge pull request #229 from etumyan/fps-oninput

Combining oninput and onchange events for the FPS counter. Close #225