Skip to content

Commit 7481c82

Browse files
Copilotthomhurst
andcommitted
Fix inverted colors in HTML report ring chart by using positive stroke-dashoffset
Co-authored-by: thomhurst <30480171+thomhurst@users.noreply.github.com>
1 parent 6fdd664 commit 7481c82

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

TUnit.Engine/Reporters/Html/HtmlReportGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -255,7 +255,7 @@ private static void AppendRingSegment(StringBuilder sb, string color, double len
255255
sb.Append(len.ToString("F2"));
256256
sb.Append(' ');
257257
sb.Append((circumference - len).ToString("F2"));
258-
sb.Append("\" stroke-dashoffset=\"-");
258+
sb.Append("\" stroke-dashoffset=\"");
259259
sb.Append(offset.ToString("F2"));
260260
sb.AppendLine("\" transform=\"rotate(-90 60 60)\"/>");
261261
}

0 commit comments

Comments
 (0)