Skip to content

Instantly share code, notes, and snippets.

@AlexanderBaggett
Created January 19, 2019 16:23
Show Gist options
  • Save AlexanderBaggett/33145f70f6badbe045bd6b62047b43ba to your computer and use it in GitHub Desktop.
Save AlexanderBaggett/33145f70f6badbe045bd6b62047b43ba to your computer and use it in GitHub Desktop.
Toomasv's Scroller
view [
sc: scroller 15x150 [tl/selected: to-integer round/ceiling face/data / face/steps]
on-created [
face/steps: 1.0 / length? tl/data
face/selected: 1.0 / (length? tl/data) * 100%]
tl: text-list 100x150 data [
"one" "two" "three" "four" "five" "six" "seven"
]
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment