Skip to content
This repository has been archived by the owner on Nov 15, 2022. It is now read-only.

Is there any way to invert the slider? #59

Open
dajomu opened this issue Aug 13, 2014 · 2 comments
Open

Is there any way to invert the slider? #59

dajomu opened this issue Aug 13, 2014 · 2 comments
Milestone

Comments

@dajomu
Copy link

dajomu commented Aug 13, 2014

Hi,
I'm working on a project with a graph zoom slider. I want to turn the slide the other way round (so that rather than go from zoom of 1 -> 7, it goes from a zoom of 7 -> 1).

I've tried changing these values -
floor="1"
ceiling="7"
step="1"

to these -
floor="7"
ceiling="1"
step="-1"

I've tried multiple different configurations along these lines, but I can't seem to get the slider to flip round. The reason I would like to do it in this way is that the translate and scale functions are rather complicated and it would be a lot easier alter it this way round rather than go through and change the functions.

Is there a simple way to do this?

Sorry if I'm being dumb and missing something.

@drgould drgould added this to the v1.0 milestone Sep 4, 2014
@drgould
Copy link
Contributor

drgould commented Sep 4, 2014

I'm in the process of rewriting the slider from scratch. I'll build this in for v1.0.

@ronaldjeremy
Copy link

really looking forward to seeing this in the rewrite!

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

3 participants