EssentialGG / Vigilance

Configuration Utility using Elementa
GNU Lesser General Public License v3.0
54 stars 12 forks source link

Slider issues. #31

Closed xiUnknown1 closed 2 years ago

xiUnknown1 commented 2 years ago

As seen here, some sliders sometimes open/closes on you when trying to change the value of a setting + IMO its too sensitive, moving your mouse slightly upwards would cause it to close too.

https://user-images.githubusercontent.com/84973878/136683923-5c8d60b3-e83f-482e-a049-86a0ccfce48a.mp4

Also here, hovering on the top of some sliders would cause it to shake more than my sleeping cat.

https://user-images.githubusercontent.com/84973878/136684024-353e1879-6e33-4e55-802f-28d836b4611b.mp4

Sychic commented 2 years ago

First issue is likely due to the misleading idea that the slider square bounding box should be counted into the slider rather than only the rectangle. Second issue is due to the movement of the expanding slider causing the text to linebreak and then moving to center with the added height. This creates an loop where it expands and moves downward because of the text making a new line which in turn causes the slider to move downward to center vertically again which leads to the mouse being detected as outside of the hover area and the slider moving back upwards and returning to the original size. @mew Thoughts?

ghost commented 2 years ago

I believe we planned on making the slider expand once the entire option was hovered over, not just the slider itself. Not sure what happened to that, though

LlamaLad7 commented 2 years ago

I am almost certain I implemented this already, someone's merge probably yeeted it.

LlamaLad7 commented 2 years ago

Nope, turns out they disabled it deliberately. No idea why.