Skip to content

Commit

Permalink
typo
Browse files Browse the repository at this point in the history
  • Loading branch information
snakex64 committed Nov 21, 2024
1 parent 2afda69 commit 87040a0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Blazor.Diagrams/Components/LinkWidget.razor.cs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ private RenderFragment GetSelectionHelperPath(string color, string d, int index)
builder.AddAttribute(9, "onmouseleave", EventCallback.Factory.Create<MouseEventArgs>(this, OnMouseLeave));
builder.AddAttribute(10, "onpointerdown", EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.PointerEventArgs>(this, e => OnPointerDown(e, index)));
builder.AddAttribute(11, "ondblclick", EventCallback.Factory.Create<Microsoft.AspNetCore.Components.Web.MouseEventArgs>(this, e => OnPointerDoubleClick(e, index)));
builder.AddEventStopPropagationAttribute(11, "onpointerdown", Link.Segmentable && !Link.DoubleClickToSegment);
builder.AddEventStopPropagationAttribute(12, "ondblclick", Link.Segmentable && Link.DoubleClickToSegment);
builder.AddEventStopPropagationAttribute(12, "onpointerdown", Link.Segmentable && !Link.DoubleClickToSegment);
builder.AddEventStopPropagationAttribute(13, "ondblclick", Link.Segmentable && Link.DoubleClickToSegment);
builder.CloseElement();
};
}
Expand Down

0 comments on commit 87040a0

Please sign in to comment.