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

Negative values #230

Closed
kamanlid opened this issue Feb 21, 2022 · 3 comments
Closed

Negative values #230

kamanlid opened this issue Feb 21, 2022 · 3 comments
Assignees
Labels
Bug bug!!

Comments

@kamanlid
Copy link

Thanks for sharing this awsome project.
Is there a way to have negative values? say from -100 to -10? (app:sv_maxSpeed="-10" and app:sv_minSpeed="-100")

It seems that it only accept positive values.

Thanks!

@anastr anastr added the Bug bug!! label Feb 21, 2022
@anastr
Copy link
Owner

anastr commented Feb 21, 2022

It seems changing both max & min speed from xml has an issue.

I'll fix this issue in the next version. For now you may assign the values from your code using setMinMaxSpeed(min, max) method.

Thanx for contributing.

@anastr anastr self-assigned this Feb 21, 2022
@kamanlid
Copy link
Author

Awsome! Thanks a lot for your quick reply!
It works from the code. Not a big deal for now if it doesn't work from the layout.
Thanks!

@kamanlid
Copy link
Author

Workaround: Can be changed from the code.

@anastr anastr reopened this Feb 21, 2022
@anastr anastr closed this as completed Jun 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug bug!!
Projects
None yet
Development

No branches or pull requests

2 participants