I found a couple bugs with the ImNodes pin style variables.
The first problem is that pushing ImNodesStyleVar.PinCircleRadius or ImNodesStyleVar.PinQuadSideLength doesn't do anything. Instead, the size of every pin shape is changed by pushing ImNodesStyleVar.PinTriangleSideLength.
The second problem is that changing the pin size only affects "unfilled" pin shapes. ImNodesPinShape.CircleFilled, ImNodesPinShape.TriangleFilled and ImNodesPinShape.QuadFilled keep the default size.
Version
1.86.8
What happened?
I found a couple bugs with the ImNodes pin style variables.
The first problem is that pushing
ImNodesStyleVar.PinCircleRadius
orImNodesStyleVar.PinQuadSideLength
doesn't do anything. Instead, the size of every pin shape is changed by pushingImNodesStyleVar.PinTriangleSideLength
.The second problem is that changing the pin size only affects "unfilled" pin shapes.
ImNodesPinShape.CircleFilled
,ImNodesPinShape.TriangleFilled
andImNodesPinShape.QuadFilled
keep the default size.Reproduction
I do this at the start of the program:
And I do this when rendering a pin:
Relevant log output
No response