Increase tiny jog filter from 8px to 12px

edge/33 had 7-8px jog segments that slipped through the 8px filter.
12px catches all visible kinks while preserving intentional bends.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
master
2026-04-02 15:39:10 +03:00
parent ae43f077aa
commit fa9139a5ed

View File

@@ -2049,7 +2049,7 @@ public sealed class WorkflowRenderSvgRenderer
var dxIn = Math.Abs(curr.X - prev.X);
var dyIn = Math.Abs(curr.Y - prev.Y);
var segLen = dxIn + dyIn;
if (segLen < 8d && i < mutablePoints.Count - 1)
if (segLen < 12d && i < mutablePoints.Count - 1)
{
var next = mutablePoints[i + 1];
if (dxIn < dyIn)