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 abed59c commit c01e920Copy full SHA for c01e920
package.json
@@ -110,4 +110,4 @@
110
"vitest": "^3.1.1",
111
"vue": "^3.5.14"
112
}
113
-}
+}
src/wordcloud.js
@@ -166,7 +166,7 @@ export function positionWords({
166
const maskH = Math.round(height);
167
const minFontSize = 1;
168
const configMinFontSize = svg.minFontSize;
169
- const maxFontSize = svg.maxFontSize;
+ const maxFontSize = Math.min(svg.maxFontSize, 100);
170
const values = words.map(w => w.value);
171
const minValue = Math.min(...values);
172
const maxValue = Math.max(...values);
0 commit comments