From 18274e318c23baa98de8058f3562d93ca5acc89e Mon Sep 17 00:00:00 2001 From: Rb64 <91498309+Rb64@users.noreply.github.com> Date: Tue, 25 Jan 2022 16:50:43 +0100 Subject: [PATCH] fixed error with font-size in view.js:renderText() --- js/view.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/view.js b/js/view.js index 51fb5ba09..91a772f08 100644 --- a/js/view.js +++ b/js/view.js @@ -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;