Fix mouth render bug.

This commit is contained in:
lucaswadedavis 2016-12-16 18:57:38 -08:00
parent af5f06f0d9
commit d3f3af380e

View file

@ -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":