-
Notifications
You must be signed in to change notification settings - Fork 103
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This ticker implementation is flawed #28
Comments
Hi David, you do have a point. Mixing up both your points, when you add an item, to one which has repeated On 3 April 2015 at 10:47, DavidLibido [email protected] wrote:
|
I think so, if I understand correctly. |
Hi, I just noticed you implementation is flawed when manually adding and deleting items. Let me give you an example:
Suppose I have one item in my ticker, the ticker will show as follows:
"item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1"
Then I add another item:
"item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 1 item 2"
When it proceeds with scrolling:
"item 1 item 1 item 1 item 1 item 2 item 1 item 1 item 1 item 1 item 1 item 1"
So now there are 11 "item 1" and 1 "item 2", the correct ticker contents should be:
"item 1 item 2 item 1 item 2 item 1 item 2 item 1 item 2 item 1 item 2 item 1"
(which it also shows if the ticker has two items initially)
Also when deleting items, the items are deleted immediatly from the ticker. In my opinion this also incorrect, the items should continue to scroll until there out view and just not be added to the ticker again.
I hope it's clear what I mean, I can provide you with a sample if you want to.
The text was updated successfully, but these errors were encountered: