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

Documentation fasely states that step in Slider is a float #359

Open
jumanji144 opened this issue Aug 21, 2024 · 0 comments
Open

Documentation fasely states that step in Slider is a float #359

jumanji144 opened this issue Aug 21, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@jumanji144
Copy link

Original reporter & ticket id

No response

Category

API

Bug description

The Slider class as in the latest version uses a int step, but the documentation shows it like the following:

@Slider(
    name = "You slide me right round baby right round",
    min = 0f, max = 100f        // min and max values for the slider
    // if you like, you can use step to set a step value for the slider,
    // giving it little steps that the slider snaps to.
    step = 10f
)

Where step is shown to support floats.

Steps to reproduce

Anything else?

I would like it that step is able to be a float

@jumanji144 jumanji144 added the bug Something isn't working label Aug 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant