From da3cfc199a4def2d914ae8818064959e7c441863 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=B5=B5=E4=B8=80=E5=AF=B0?= Date: Fri, 13 Mar 2026 18:59:33 +0800 Subject: [PATCH] add some animate --- ui/src/ui/app-render.ts | 59 +++++++++++++++++++++-------------------- 1 file changed, 30 insertions(+), 29 deletions(-) diff --git a/ui/src/ui/app-render.ts b/ui/src/ui/app-render.ts index 74ca445b8b0..18fc0610d9a 100644 --- a/ui/src/ui/app-render.ts +++ b/ui/src/ui/app-render.ts @@ -1474,35 +1474,36 @@ export function renderApp(state: AppViewState) { })} - ${ - state.showClawComputer - ? html` - { - if (e.detail.width !== undefined) { - state.setClawComputerWidth(e.detail.width); - } - }} - > -
-
- 🖥️ 远程桌面 - -
- -
- ` - : nothing - } + { + if (e.detail.width !== undefined) { + state.setClawComputerWidth(e.detail.width); + } + }} + style=${state.showClawComputer ? "" : "display: none;"} + > +
+ +
` : nothing