Open reaperpaster opened 4 years ago
i noticed that the slider max_value works perfectly but the min value is always 0 same changing it
On key down function:
value = min_value + (max_value - min_value) * (cursor.x - ix) / position;
On slider render (width):
(value - min_value) / (max_value - min_value) * position
i noticed that the slider max_value works perfectly but the min value is always 0 same changing it