实例列表左侧游戏文件夹列表添加平滑滚动 - #6495
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 84f71d74f8
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
|
|
||
| { | ||
| ScrollPane pane = new ScrollPane(); | ||
| FXUtils.smoothScrolling(pane); |
There was a problem hiding this comment.
Move smooth-scrolling setup after content initialization
When animations are enabled, FXUtils.smoothScrolling(pane) immediately delegates to ScrollUtils.smoothScroll, which calls scrollPane.getContent().getParent(). The pane's content is not assigned until the later pane.setContent(wrapper), so constructing GameListPage throws a NullPointerException and prevents the instance list from opening. Move this call below setContent or construct the pane with its content.
Useful? React with 👍 / 👎.
No description provided.