Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getGameDir()方法有错误 #71

Open
wants to merge 2 commits into
base: new-ui
Choose a base branch
from

Conversation

sweet-de-way
Copy link
Contributor

当程序首次启动且 setting.json 未创建时,Config.setting.getGameRootDir() 返回 null,而new File()的参数为null时会抛出错误,导致无法触发 "ui.home.message.type04" 消息。为了解决这个问题,我们需要在获取游戏根目录之前检查返回值是否为 null,并在必要时触发消息。

new File()的参数不能为null
Copy link

vercel bot commented Dec 2, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
wuthering-waves-tool ✅ Ready (Inspect) Visit Preview 💬 Add feedback Dec 3, 2024 0:42am

javafx的animation作用于子节点较多的元素时,性能很差。直接截图播放也许是更好的选择。
Copy link
Owner

@leck995 leck995 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

我模拟了下两者速度,意义不大。动画和新界面生成并行可能会比较好,但这也要修改动画效果,有待测试。

@sweet-de-way
Copy link
Contributor Author

我模拟了下两者速度,意义不大。动画和新界面生成并行可能会比较好,但这也要修改动画效果,有待测试。

好的👌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants