From d3f3af380ecb6d3b59aa8a99b1b32bd3764e7e84 Mon Sep 17 00:00:00 2001 From: lucaswadedavis Date: Fri, 16 Dec 2016 18:57:38 -0800 Subject: [PATCH] Fix mouth render bug. --- js/render-fox.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/render-fox.js b/js/render-fox.js index c969c16..e8ed162 100644 --- a/js/render-fox.js +++ b/js/render-fox.js @@ -93,7 +93,7 @@ function renderNose(ctx, opts) { function renderMouth(ctx, opts) { ctx.strokeStyle = "black"; - ctx.lineWidth = 2; + ctx.lineWidth = 0.01 * ctx.canvas.width; ctx.beginPath(); switch (opts.style) { case "smirk":