pthom / hello_imgui

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

fix idling using fpsIdle == 0 in emscripten #84

Closed wkjarosz closed 10 months ago

wkjarosz commented 11 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 10 months ago

Perfect, thanks!