When using the offsets for knob graphics, I noticed the values passed as nodeSidePos made no difference.
This issue appears to be caused by an error in ConnectionKnobAttribute::UpdateProperties
Looking in updateProperties the code is:
public override void UpdateProperties (ConnectionPort port)
{
..
if (NodeSidePos != 0)
knob.sidePosition = NodeSidePos;
knob.sideOffset = 0;
}
In the above if NodeSidePos is not zero, then knob.sidePosition is set to NodeSidePos.
BUT then on the next line knob.sideOffset is set to zero - meaning the lines above are pointless.
I suspect knob.sideOffset = 0; should be removed? Or maybe the whole "if" statement?
When using the offsets for knob graphics, I noticed the values passed as nodeSidePos made no difference. This issue appears to be caused by an error in ConnectionKnobAttribute::UpdateProperties
Looking in updateProperties the code is:
In the above if NodeSidePos is not zero, then knob.sidePosition is set to NodeSidePos. BUT then on the next line knob.sideOffset is set to zero - meaning the lines above are pointless. I suspect knob.sideOffset = 0; should be removed? Or maybe the whole "if" statement?