mirror of
https://github.com/Ttanasart-pt/Pixel-Composer.git
synced 2024-12-30 17:06:27 +01:00
12 lines
No EOL
271 B
Text
12 lines
No EOL
271 B
Text
enum SLIDER_UPDATE {
|
|
realtime,
|
|
release,
|
|
none,
|
|
}
|
|
|
|
function slider(_min, _max, _step, _onModify = noone, _onRelease = noone) {
|
|
return new textBox( TEXTBOX_INPUT.number, _onModify )
|
|
.setSlideRange(_min, _max)
|
|
.setSlideStep(_step)
|
|
.setOnRelease(_onRelease);
|
|
} |