Skip to content

Commit

Permalink
blabla hotfix: why
Browse files Browse the repository at this point in the history
  • Loading branch information
skuqre committed Dec 10, 2023
1 parent 72029e1 commit 9bd0c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scripts/blabla.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ function generateBlabla() {

let width = ctx.measureText(item.message).width > 418 ? 418 : ctx.measureText(item.message).width;
let actualWidth = width + 22 * 2 > 418 ? 418 : width + 22 * 2;
let lines = getLinesForParagraphs(ctx, item.message, 418);
let lines = getLinesForParagraphs(ctx, item.message, actualWidth);
let height = lines.length > 1 ? 19 + ((31) * (lines.length + 1)) : 81;

let ass = curSpeaker.toLowerCase() != 'commander' ? 37 : 34;
Expand Down

0 comments on commit 9bd0c3b

Please sign in to comment.