grg021 / pfflipper

Page Forest APP - Flipper: A split-flap display simulator
5 stars 1 forks source link

Doubleclicking Forward and Back buttons causes indefinitely flipping tiles #8

Closed Bobby-Seidensticker closed 13 years ago

Bobby-Seidensticker commented 13 years ago
This is the first page
 ---
 A top line

 A bottom line
 ---
 third page
  1. Hit Play
  2. Click "Forward" twice in rapid succession

Results: A few tiles on the second and fourth rows flip the first half of A indefinitely

Expected: Screen displays the text on the third page

grg021 commented 13 years ago

Issue has been fixed. Screen now displays as expected and indefinite flipping is now addressed.

Bobby-Seidensticker commented 13 years ago

Issue remains: same input except do not hit play press forward 10 times in rapid succession (sometimes works, sometimes doesn't, but shouldn't take long to get a fail case)

grg021 commented 13 years ago

Should work OK now. Found two errors:

  1. wrong strloop[id](setInterval variable) - used parseInt for id generation
  2. seems that rapid clicking forward/back causes the loopThrough function to have the same character parameter, thus, it doesn't transition right.
Bobby-Seidensticker commented 13 years ago

confirmed