Skip to content

Commit

Permalink
Fix text rendering
Browse files Browse the repository at this point in the history
  • Loading branch information
limzykenneth committed Oct 27, 2024
1 parent da70a0e commit 4314ec0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/core/p5.Renderer2D.js
Original file line number Diff line number Diff line change
Expand Up @@ -1398,7 +1398,7 @@ class Renderer2D extends Renderer {
}
}

const p = p5.prototype.text.apply(this, arguments);
const p = super.text(...arguments);

if (baselineHacked) {
this.drawingContext.textBaseline = constants.BASELINE;
Expand Down

0 comments on commit 4314ec0

Please sign in to comment.