snowkit / mint

A framework/renderer agnostic Minimal UI interface library for Haxe.
http://snowkit.github.io/mint/
MIT License
65 stars 19 forks source link

Slider; added inverse flag #23

Closed josuigoa closed 9 years ago

josuigoa commented 9 years ago

Inverts the sliders default direction. If true, horizontal slider goes from right to left and vertical slider from top to bottom.

ruby0x1 commented 9 years ago

Neat idea, could you add a commit and rename invert_direction to just invert, since the directionality is already expressed in horizontal/vertical the invert flag is preferable - succinct and clear :)

josuigoa commented 9 years ago

done! my provisional var name was 'inverse', but then I changed... giving proper names to variables is the hardest part for me :)

ruby0x1 commented 9 years ago

Looks good, thanks!