Skip to content

Commit

Permalink
blabla hotfix 2: im stupid
Browse files Browse the repository at this point in the history
  • Loading branch information
skuqre committed Dec 10, 2023
1 parent 9bd0c3b commit 6e17af5
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, actualWidth);
let lines = getLinesForParagraphs(ctx, item.message, actualWidth - 22*2);
let height = lines.length > 1 ? 19 + ((31) * (lines.length + 1)) : 81;

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

0 comments on commit 6e17af5

Please sign in to comment.