Skip to content

[Enhancement] 为版本选择菜单添加了关闭动画 - #6637

Open
cow76192 wants to merge 5 commits into
HMCL-dev:mainfrom
cow76192:main
Open

[Enhancement] 为版本选择菜单添加了关闭动画#6637
cow76192 wants to merge 5 commits into
HMCL-dev:mainfrom
cow76192:main

Conversation

@cow76192

@cow76192 cow76192 commented Aug 9, 2026

Copy link
Copy Markdown
2026-08-09.22-33-56.mp4

@github-actions github-actions Bot added the 40+ label Aug 9, 2026
@cow76192 cow76192 changed the title [Enhancement] add animated hiding functionality for game list popup menu [Enhancement] 为版本选择菜单添加了关闭动画 Aug 10, 2026
@Glavo

Glavo commented Aug 14, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: e3049b756b

ℹ️ 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".

Comment thread HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameListPopupMenu.java Outdated
# Conflicts:
#	HMCL/src/main/java/org/jackhuang/hmcl/ui/instances/GameListPopupMenu.java
@github-actions github-actions Bot added 100+ and removed 40+ labels Aug 15, 2026
@Glavo

Glavo commented Aug 15, 2026

Copy link
Copy Markdown
Member

@codex review

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 00f14fba64

ℹ️ 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".

owner.getProperties().put(KEY, popup);
popup.addEventFilter(WindowEvent.WINDOW_HIDDEN, event -> owner.getProperties().remove(KEY, popup));
popup.show(owner, vAlign, hAlign, initOffsetX, initOffsetY, true);
popup.setAutoHide(false);

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Route Escape through the animated dismissal

When a keyboard user presses Escape, JFXPopup.initialize() still leaves hideOnEscape enabled, so JavaFX calls popup.hide() directly and bypasses hideAnimated. Thus this standard dismissal path remains instantaneous despite the new closing animation; disable native Escape hiding and handle Escape by invoking the animated helper.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants