Skip to content

Conversation

ubidefeo
Copy link

Hope you'll want to merge these ones in.
TickMarks were acting weird (not drawing to the end of the slider) so I rewrote that part to make for better drawing and spacing.
The float x for offset never really had a float value and the .translate() was causing the offset to never make it to the end of the slider. Wit an extra layer of push/pop Matrix I was able to redraw them entirely at a computed offset :)
I also fixed an issue with setBounds (commented out).

…ems not to exist in Processing 3 anymore

- added TickMark distance from component and fixed its relation to TickMark length
- implemented TickMark.setDistance(int) method to allow better positioning in respect to the slider
- cleaned up after myself
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants