We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e6900ee + 05b6877 commit 860e7e6Copy full SHA for 860e7e6
Source/OxyPlot.Avalonia/CanvasRenderContext.cs
@@ -845,7 +845,8 @@ private void SetStroke(
845
846
if (dashArray != null)
847
{
848
- shape.StrokeDashArray = new global::Avalonia.Collections.AvaloniaList<double>(dashArray.Select(dash => dash + dashOffset));
+ shape.StrokeDashArray = new global::Avalonia.Collections.AvaloniaList<double>(dashArray);
849
+ shape.StrokeDashOffset = dashOffset;
850
}
851
852
0 commit comments