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.
1 parent 8b7c0ad commit 3a83dcaCopy full SHA for 3a83dca
CrossStitchProject/HtmlWriter.cs
@@ -96,7 +96,7 @@ public void GenerateHtml()
96
var distinctFlossesInImage = GenerateCrossStitchPattern();
97
GenerateHtmlLegend(distinctFlossesInImage.ToList());
98
}
99
-
+ //TODO: replace html with new class method calls?
100
public HashSet<FlossInfo> GenerateCrossStitchPattern()
101
{
102
var chunkCount = 0;
@@ -117,7 +117,7 @@ public HashSet<FlossInfo> GenerateCrossStitchPattern()
117
118
119
flossesInImage.Add(flossInfo);
120
- if (x > 0 && x % 50 == 0)
+ if (x > 0 && x % DefaultChunkWidth == 0)
121
122
htmlString.AppendLine($"<div class='u'{style}></div><br/>");
123
0 commit comments