优化主题包管理页面列表项#6270
Conversation
|
@codex review |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: c736f4a496
ℹ️ 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".
| HBox.setHgrow(content, Priority.ALWAYS); | ||
| center.setCursor(Cursor.HAND); | ||
| FXUtils.onClicked(center, () -> { | ||
| FXUtils.onClicked(ripplerContainer, () -> { |
There was a problem hiding this comment.
Prevent action buttons from triggering row selection
For non-built-in packs, the reveal/delete buttons are children of the root wrapped by this RipplerContainer. FXUtils.onClicked installs a bubbling MOUSE_CLICKED handler, while button actions fire from the button itself, so a primary click on either action button can also reach this handler and call selectThemePack, opening the apply/details dialog after reveal/delete. Keep the row-click handler limited to the non-button area or filter/consume clicks originating from the action buttons.
Useful? React with 👍 / 👎.
No description provided.