Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

fix(chat): use registered image fade animation

Dashede750e2f258
diff --git a/apps/desktop/src/renderer/components/chat/ChatLoadingImage.tsx b/apps/desktop/src/renderer/components/chat/ChatLoadingImage.tsx
index a91677195e..daee35f5ca 100644
--- a/apps/desktop/src/renderer/components/chat/ChatLoadingImage.tsx
+++ b/apps/desktop/src/renderer/components/chat/ChatLoadingImage.tsx
@@ -27,8 +27,7 @@ function ImageLoad({ onLoad, style, className, ...props }: ComponentProps<'img'>
{...props}
className={cn(
className,
- loaded &&
- 'motion-safe:animate-in motion-safe:fade-in [animation-duration:var(--motion-fast)] [animation-timing-function:var(--motion-ease-out)]',
+ loaded && 'motion-safe:animate-fade-in',
)}
style={loaded ? style : { ...style, display: 'none' }}
onLoad={(event) => {