Skip to content

Commit

Permalink
Fixed formatting codes not working directly after §r
Browse files Browse the repository at this point in the history
  • Loading branch information
Pedro270707 committed Feb 23, 2024
1 parent 7164f5b commit d3ac8bd
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/minecraft-tip.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,9 @@ class TextRenderer {
textRenderingContext.charIndex++;
break;
}
ctx.save();
textRenderingContext.formatting.applyFormatting(textRenderingContext, this);
ctx.restore();
cursor++;
}
}
Expand Down

0 comments on commit d3ac8bd

Please sign in to comment.