fix: changeFigure and changeBg duration #717
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
介绍
fix #701
主要更改
changeFigure: none -duration=1000;
可以让指定立绘按给定时长退场changeFigure: anonther_image.png -duration=1000;
顶替在场立绘时, 新立绘的出场动画与旧退场动画的时长相同changeFigure: anonther_image.png -exit=<exit>;
也可以控制被顶替立绘的退场效果timeout
现在可跟随演出的结束而结束;IStageAnimationObject
新增 stopFunction, 在removeAnimation
时调用测试