This commit is contained in:
Dragon Fire
2024-05-03 10:51:17 -04:00
parent a1cb26c596
commit 50cb56bf1b
+1 -1
View File
@@ -213,7 +213,7 @@ module.exports = class CanvasUtil {
return ctx;
}
measureTextHeightWithBreaks(ctx, text) {
static measureTextHeightWithBreaks(ctx, text) {
const lines = text.split('\n');
let result = 0;
for (const line of lines) {