(image: string | undefined)
| 300 | // config that points a face back at a still image gets the circle's motion |
| 301 | // and blinks again. Animated assets are named `patchy-v1-face-anim-*`. |
| 302 | const isAnimatedImage = (image: string | undefined): boolean => |
| 303 | !!image?.includes('-anim-'); |
| 304 | |
| 305 | export const isPatchyFaceAnimated = (face: PatchyFace): boolean => |
| 306 | isAnimatedImage(getPatchyConfig().faceImage[face]); |
no outgoing calls
no test coverage detected