I want to stop a slider at a certain position while it’s being dragged. Tried this method:
on ui_control (slider)
if (<condition>)
slider:=fixed_value
end if
end on
In this case slider jitters back and forth between mouse cursor and fixed_value, which is not fancy.
Also tried to cover the slider with a transparent button when if (<condition>) happens, but the slider keeps being dragged, even covered. Only when I unlclicked it, it gets covered and non-active, so to speak.
Any ideas what else can be done? Thanks!
on ui_control (slider)
if (<condition>)
slider:=fixed_value
end if
end on
In this case slider jitters back and forth between mouse cursor and fixed_value, which is not fancy.
Also tried to cover the slider with a transparent button when if (<condition>) happens, but the slider keeps being dragged, even covered. Only when I unlclicked it, it gets covered and non-active, so to speak.
Any ideas what else can be done? Thanks!