Skip to content
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

Can't refresh gauge with float #2

Closed
daergoth opened this issue Jan 4, 2017 · 1 comment
Closed

Can't refresh gauge with float #2

daergoth opened this issue Jan 4, 2017 · 1 comment

Comments

@daergoth
Copy link

daergoth commented Jan 4, 2017

Right now a JustGage instance can only be refreshed with an integer.
However, the core JustGage JavaScript library would support refreshing
with a float value.

This would be a small modification in JustGage.java from:

public void refresh(int value) {
  callFunction("refresh", value);
}

to:

public void refresh(float value) {
  callFunction("refresh", value);
}
@35niavlys
Copy link
Owner

Thanks for the issue. I uploaded the 1.0.2 version

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

No branches or pull requests

2 participants