hrgdavor / jscadui

MIT License
30 stars 9 forks source link

slider behavior bumpy when crossing from <100 to ≥100 and vice versa #111

Closed Hermann-SW closed 3 months ago

Hermann-SW commented 3 months ago

The problem is that the slider value box changes its size and moves the slider on its right to new postion. Since the mouse cursor remains at same position on display, slider values jump around in a bumpy way. Somehow the slider position needs to be fixed to avoid the bumpy behavior: recording mp4

Hermann-SW commented 3 months ago

I verified on @othelarian fix_slider branch, works ! Peek_2024-07-12_23-13

hrgdavor commented 3 months ago

This fix should be live no. Try and close issue if OK.

Hermann-SW commented 3 months ago

Tested to work fine with this link, redirecting to jscad.app: https://hermann-sw.github.io/lattice_sphere_cmp/pt.html