Originally Posted by humfras
There is no other more efficient way to string.format or floor(value/step)*step.
The lag must be caused by something else.
I once encountered this myself when using a simple self made slider. The problem mysteriously didn't occur when using the Ace3 one...
|
Of course this causing the lag, have you ever tried to calculate with 30 character long float values multiple times under a second? Specially when you use it on slider which is handling high resolution textures/ingame models, like alpha, rotation, zoom, width, height, position changes.