Skip to content

fix: 列表工具栏水波纹溢出#6117

Merged
Glavo merged 2 commits into
HMCL-dev:mainfrom
CiiLu:febfr
May 20, 2026
Merged

fix: 列表工具栏水波纹溢出#6117
Glavo merged 2 commits into
HMCL-dev:mainfrom
CiiLu:febfr

Conversation

@CiiLu
Copy link
Copy Markdown
Contributor

@CiiLu CiiLu commented May 17, 2026

image image

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/FXUtils.java Outdated
@Glavo
Copy link
Copy Markdown
Member

Glavo commented May 18, 2026

/gemini review

Copy link
Copy Markdown
Contributor

@gemini-code-assist gemini-code-assist Bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request implements overflow clipping with rounded corners for toolbars across several UI components, including ToolbarListPageSkin, GameListPage, and ModListPageSkin, while also refactoring imports in GameListPage. Review feedback indicates that the value of 8 used for rounded corners likely results in a 4px radius rather than 8px, as JavaFX arc properties represent diameter. Additionally, the reviewer pointed out that calling setOverflowHidden on TransitionPane instances is redundant and creates unnecessary object overhead, suggesting an architectural improvement to handle corner radii within the TransitionPane class itself.

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/ToolbarListPageSkin.java
Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/versions/GameListPage.java
@Glavo Glavo merged commit 0d62a12 into HMCL-dev:main May 20, 2026
2 checks passed
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.

3 participants