Compare commits

...

1 Commits

Author SHA1 Message Date
TJH
e1734f24df ui
All checks were successful
Gitea Actions Demo / Explore-Gitea-Actions (push) Successful in 1m34s
2026-02-24 14:44:43 +08:00

View File

@ -445,10 +445,9 @@ export class SlotBar extends Component {
frame.getComponent(UITransform).setContentSize(tipWidth + 140, 105); frame.getComponent(UITransform).setContentSize(tipWidth + 140, 105);
} }
tipNode.scale = new Vec3(0, 0, 0);
setTimeout(() => { setTimeout(() => {
// 显示动画 // 显示动画
tipNode.scale = new Vec3(0, 0, 0);
this.currentTipTween = tween(tipNode) this.currentTipTween = tween(tipNode)
.to(0.1, { scale: new Vec3(1, 1, 1) }) .to(0.1, { scale: new Vec3(1, 1, 1) })
.call(() => { .call(() => {