mirror of
https://git.sleeping.town/mirrors/foxy-moxy
synced 2024-11-22 03:57:43 +00:00
Merge pull request #8 from Patreon/luke---fix-invariant-mouth-size
Fix mouth render bug.
This commit is contained in:
commit
b517805b1b
1 changed files with 1 additions and 1 deletions
|
@ -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":
|
||||
|
|
Loading…
Reference in a new issue