Skip to content
This repository has been archived by the owner on Apr 2, 2019. It is now read-only.

How do I tell Odometer to just animate the string without truncating or following a format? #170

Open
FreezePhoenix opened this issue Dec 3, 2018 · 1 comment

Comments

@FreezePhoenix
Copy link

I need to run multiple odometers with the same theme but different formats. I can't make a manual check, as they are dynamically created. (The other issue is performance, of course, I'll ask about that later in this post). So I have multiple odometers, some of which I want to be percents, and some of which I want to be rounded numbers, and some of which I want to be decimals.

The second issue is performance. I will have on average 28 odometers running (You can check them out here: https://lowlimeoop-1.freezephoenix.repl.co/). This often causes spurts of lag when running on a only slightly outdated machine.

@FreezePhoenix
Copy link
Author

One other complaint: It doesn't continue scrolling even after it's reassigned, especially if to the same value. In this case, it should continue scrolling. In the case where it isn't the same value, it should scroll from where it is instead of where it was headed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant