Wowpedia
Advertisement
Wowpedia
240,483
pages

Sets whether the slider constrains values to value steps when dragged.

Slider:SetObeyStepOnDrag(obeyStep)

Arguments

obeyStep 
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

Mists of Pandaria Patch 5.4.2 / API (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.

See also

Advertisement