Skip to content

Allow RangeSlider to adjust both values to the same number #707

Description

@zeissmicroscopy

Hi @tlambert03

I have a use case where I want to select a range using the RangeSlider AND I also want the same slider to allow me a single value.

For example:

range = (0-3) --> will read planes 0,1,2,3 from my image stack
range = (2-2) --> will read only plane 3 from the stack

But this 2nd case does not seem to be possible because the UI element does not allow to adjust both handles to be the same?

Is that even possible or do you advice to use two sliders (min & max) with some custom logic?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions