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 47ee65c commit f1cd496Copy full SHA for f1cd496
Module/src/PSWordCloud/NewWordCloudCommand.cs
@@ -686,7 +686,8 @@ protected override void EndProcessing()
686
// Remove all words that were cut from the final rendering list
687
sortedWordList.RemoveAll(x => !scaledWordSizes.ContainsKey(x));
688
689
- maxRadius = 9 * Math.Max(viewbox.Width, viewbox.Height) / 16f;
+ // Max radius should reach to the corner of the image; location is top-left of the box
690
+ maxRadius = SKPoint.Distance(viewbox.Location, centrePoint);
691
692
if (AllowOverflow)
693
{
0 commit comments