Skip to content

Commit

Permalink
Merge pull request #5 from hhiptmair/font-shape-issue
Browse files Browse the repository at this point in the history
fixed font size bug, issue Hextris#162
  • Loading branch information
nkh0472 authored May 4, 2021
2 parents d79e29e + c02ae77 commit c4b19a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ function easeOutCubic(t, b, c, d) {
function renderText(x, y, fontSize, color, text, font) {
ctx.save();
if (!font) {
var font = '20px Exo';
var font = 'px Exo';
}

fontSize *= settings.scale;
Expand Down

0 comments on commit c4b19a4

Please sign in to comment.