From 0a684cbffcb7178d9e0a0476eb62bfbde6f09939 Mon Sep 17 00:00:00 2001 From: xe7485 Date: Wed, 20 Apr 2016 12:47:26 -0300 Subject: [PATCH] Update EdgeControlBase.cs fix self loop indicator offset calculation --- GraphX.Controls/Controls/EdgeControlBase.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GraphX.Controls/Controls/EdgeControlBase.cs b/GraphX.Controls/Controls/EdgeControlBase.cs index 6539b7f..cbc865e 100644 --- a/GraphX.Controls/Controls/EdgeControlBase.cs +++ b/GraphX.Controls/Controls/EdgeControlBase.cs @@ -644,7 +644,7 @@ namespace GraphX.Controls var pt = new Point( sourcePos.X + SelfLoopIndicatorOffset.X - (hasNoTemplate ? SelfLoopIndicatorRadius : SelfLoopIndicator.DesiredSize.Width), - sourcePos.Y + SelfLoopIndicatorOffset.X - (hasNoTemplate ? SelfLoopIndicatorRadius : SelfLoopIndicator.DesiredSize.Height)); + sourcePos.Y + SelfLoopIndicatorOffset.Y - (hasNoTemplate ? SelfLoopIndicatorRadius : SelfLoopIndicator.DesiredSize.Height)); //if we has no self looped edge template defined we'll use default built-in indicator if (hasNoTemplate)