From 122c91f4d9694adbf70548b6b5fbbdce49d87937 Mon Sep 17 00:00:00 2001 From: irvin373 Date: Fri, 12 Jul 2024 11:11:46 -0400 Subject: [PATCH] add color to earring --- .../avatar-generator/avatar-selector-path.ts | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/src/app/home/avatar-generator/avatar-selector-path.ts b/src/app/home/avatar-generator/avatar-selector-path.ts index 7a3541d..befa9d8 100644 --- a/src/app/home/avatar-generator/avatar-selector-path.ts +++ b/src/app/home/avatar-generator/avatar-selector-path.ts @@ -249,6 +249,7 @@ export function getMouth(type: string, color: string): string { export function getEyebrows(type: string, color: string): string { let eyebrows = ''; switch (type) { + default: case 'angryNatural': eyebrows = ` @@ -287,10 +288,6 @@ export function getEyebrows(type: string, color: string): string { eyebrows = ` `; break; - default: - eyebrows = ` - `; - break; case 'sadConcerned': eyebrows = ` `; @@ -428,32 +425,32 @@ export function getHat(type: string, color: string): string { switch (type) { case 'eyepatch': hat = ` - + `; break; case 'turban': hat = ` - + `; break; case 'hijab': hat = ` - + `; break; case 'hat': hat = ` - + `; break; case 'winterHat01': hat = ` - + `; break; case 'winterHat02': hat = ` - + `; break; case 'none':