修复并调整chooseToMove的动画,增加了移动牌动画开关喵 #3027
Open
+59
−17
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.
PR受影响的平台
无
诱因和背景
修复chooseToMove卡死的问题,并解决Issue #2943喵
PR描述
修复$elementGoto对于未改变位置的动画会返回永久pending的Promise问题喵
为chooseToMove与chooseToMove_new添加动画配置开关,并适当缩减chooseToMove的动画长度喵
PR测试
实际测试了一遍,相比PR之前:
chooseToMove在实际不移动的牌移动中不再会卡死喵
chooseToMove的动画更快了喵
chooseToMove和chooseToMove_new的动画可以禁用了喵
扩展适配
无
检查清单
master
分支WIP
直到本PR内容全部提交character/rank.js
中添加对应的武将强度评级,并对双人武将/复姓武将添加name:xxx
的参数lib.translate
中加入语音文件的文字台词PR描述
中写入详细文档扩展适配
中写入详细文档诱因和背景
中明确链接到该issue.editorconfig
、eslint.config.mjs
和prettier.config.mjs
所规定的代码样式,并且已经通过prettier
格式化过代码