mirror of
				https://git.sleeping.town/mirrors/foxy-moxy
				synced 2025-11-03 18:12:17 -08: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) {
 | 
					function renderMouth(ctx, opts) {
 | 
				
			||||||
  ctx.strokeStyle = "black";
 | 
					  ctx.strokeStyle = "black";
 | 
				
			||||||
  ctx.lineWidth = 2;
 | 
					  ctx.lineWidth = 0.01 * ctx.canvas.width;
 | 
				
			||||||
  ctx.beginPath();
 | 
					  ctx.beginPath();
 | 
				
			||||||
  switch (opts.style) {
 | 
					  switch (opts.style) {
 | 
				
			||||||
    case "smirk":
 | 
					    case "smirk":
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue