sciencemine / digital-signage

4 stars 0 forks source link

Videos Rendered in Video-List for Left & Right Keys Is Off by 1 During Pause #106

Closed Areid406 closed 7 years ago

Areid406 commented 7 years ago

How to reproduce bug:

Load webpage to example model Select a Video-Stack from Map view Pause video Toggle stacks in After-Video-List with "A" or "D" and notice the Video-List populated below is delayed by 1.

Areid406 commented 7 years ago

Closed, issue was caused by incorrectly ordered code.

InputCallback was being called AFTER the index had been changed, causing it to pull the incorrect video to load and render. Swapping the order resolved the bug.