Slider:SetObeyStepOnDrag
Jump to navigation
Jump to search
Sets whether the slider constrains values to value steps when dragged.
Slider:SetObeyStepOnDrag(obeyStepOnDrag)
Arguments
- obeyStepOnDrag
- boolean - true to force the slider to obey value steps when interpreting mouse input, false to allow it to assume sub-value step values.
Patch history
Patch 5.4.2 (2013-12-10): Added. Prior to Patch 5.4.1, obeying step size on drag was the default behaviour; in Patch 5.4.2 and beyond, this function needs to be called explicitly.