Nodes: make dot in socket shape circular
Previously, it was a diamond shape when the overall shape was a diamond.
This commit is contained in:
parent
2b5733ff01
commit
7e904139a3
|
@ -67,7 +67,7 @@ void main()
|
|||
if (outline_dist < 0) {
|
||||
/* Middle dot */
|
||||
if (test(GPU_KEYFRAME_SHAPE_INNER_DOT)) {
|
||||
alpha = max(alpha, 1 - smoothstep(thresholds[2], thresholds[3], radius));
|
||||
alpha = max(alpha, 1 - smoothstep(thresholds[2], thresholds[3], length(absPos)));
|
||||
}
|
||||
|
||||
/* Up and down arrow-like shading. */
|
||||
|
|
Loading…
Reference in New Issue