mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-25 06:26:42 +01:00
11 lines
No EOL
267 B
Text
11 lines
No EOL
267 B
Text
enum SLIDER_UPDATE {
|
|
realtime,
|
|
release,
|
|
none,
|
|
}
|
|
|
|
function slider(_min, _max, _step, _onModify = noone, _onRelease = noone) {
|
|
return new textBox( TEXTBOX_INPUT.number, _onModify )
|
|
.setSlidable(_step / 10, false, [ _min, _max ])
|
|
.setOnRelease(_onRelease);
|
|
} |