限定状态提示动画重启动范围

仅重启动 UI 编辑器关注动画而不影响过渡效果
This commit is contained in:
2026-09-18 16:41:12 +08:00
parent 2d8b51885a
commit f4e9414d63
@@ -843,6 +843,8 @@ function NodeStageSelect({
// 仍能再次播放提示,而不是依赖 class/key 的重协调行为。
if (typeof statusRow.getAnimations === 'function') {
for (const animation of statusRow.getAnimations()) {
const animationName = (animation as CSSAnimation).animationName;
if (!animationName?.startsWith('ui-editor-status-attention')) continue;
animation.cancel();
animation.play();
}