pthom / hello_imgui

Hello, Dear ImGui: unleash your creativity in app development and prototyping
https://pthom.github.io/hello_imgui
MIT License
604 stars 91 forks source link

fix idling using fpsIdle == 0 in emscripten #84

Closed wkjarosz closed 6 months ago

wkjarosz commented 6 months ago

Currently, you can temporarily disable idling (e.g for a short animation) by setting fpsIdle to 0, but this didn't currently work with emscripten. This small PR fixes that so it behaves the same way in emscripten.

pthom commented 6 months ago

Perfect, thanks!