Kitware / UPennContrast

UPenn ?
https://upenn-contrast.netlify.com/
Apache License 2.0
8 stars 6 forks source link

Add step to worker interface sliders #633

Closed bruyeret closed 8 months ago

bruyeret commented 8 months ago

@zjniu This PR adds another property that you can set for the worker interface, that is "step" If not defined, it will default to -1 (no step, maximum precision) For example:, this will force the "Diameter" slider to be an integer between 0 and 200 (defaults to 10)

'Diameter': {
    'type': 'number',
    'min': 0,
    'max': 200,
    'default': 10,
    'step': 1
},