cables-gl / cables_docs

cables documentation docs.cables.gl
https://cables.gl/docs/docs
33 stars 14 forks source link

Timer Play/Pause Toggle Behaves like a Gate #785

Open sebastianpetrovski opened 1 month ago

sebastianpetrovski commented 1 month ago

Link to simple, reproducible example patch https://cables.gl/p/Zsm9Xe

Describe the bug Timer Play toggle behaves like a Gate. When Play is toggled false it pauses output, when toggle is set true again it seems to skip ahead as if it never stopped playing.

How To Reproduce In the linked example patch use left and right mouse buttons to see it in action.

Platform Seems to behave the same on Windows and Android.

steam0r commented 1 month ago

i made a small change that we introduced to sync the timer with "requestAnimationFrame" that seems to have introduced that, should be back to old behaviour on dev.cables.gl and cables.gl for now

sebastianpetrovski commented 3 weeks ago

Oh ok great, thank you! Can confirm its working in the patch on desktop and mobile