限定状态提示动画重启动范围
仅重启动 UI 编辑器关注动画而不影响过渡效果
This commit is contained in:
+2
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user