Garry's Mod Wiki

Revision Difference

DNumSlider:ResetToDefaultValue#550503

<function name="ResetToDefaultValue" parent="DNumSlider" type="panelfunc"> <ispanel>yes</ispanel> <description> Resets the slider to the default value, if one was set by <page>DNumSlider:SetDefaultValue</page>. This function is called by the <page>DNumSlider</page> when user middle mouse clicks on the draggable knob of the slider. </description> <realm>Client</realm>⤶ <realm>Client and Menu</realm>⤶ </function>