Avoid the value slider clipping through rounded corners for low values
by ensuring the width of the slider rectangle is at least twice the
corner radius.
When the slider rectangle width got lower than twice the corner radius,
the shader gpu_shader_2D_widget_base_frag.glsl partially cut off the
rounded corners, because it sections the rounded rectangle in
quadrants.
This patch fixes this by ensuring that the slider rectangle always has a
width of at least twice the corner radius.
| master | patch | 2.83 |


