Skip to content

feat: CloseButtonType1支持Hover#1551

Merged
MistEO merged 2 commits intov2from
feat/Button
Mar 23, 2026
Merged

feat: CloseButtonType1支持Hover#1551
MistEO merged 2 commits intov2from
feat/Button

Conversation

@overflow65537
Copy link
Copy Markdown
Member

@overflow65537 overflow65537 commented Mar 23, 2026

由 Sourcery 提供的摘要

新功能:

  • 为 CloseButtonType1 按钮添加悬停状态的样式/配置。
Original summary in English

Summary by Sourcery

New Features:

  • Introduce hover state styling/configuration for the CloseButtonType1 button.
- 为 CloseButtonType1 按钮配置添加悬停状态支持
Original summary in English

由 Sourcery 提供的摘要

新功能:

  • 为 CloseButtonType1 按钮添加悬停状态的样式/配置。
Original summary in English

Summary by Sourcery

New Features:

  • Introduce hover state styling/configuration for the CloseButtonType1 button.

@overflow65537 overflow65537 marked this pull request as ready for review March 23, 2026 14:54
Copilot AI review requested due to automatic review settings March 23, 2026 14:54
Copy link
Copy Markdown
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

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

Hey - 我已经审查了你的更改,看起来非常不错!


Sourcery 对开源项目是免费的——如果你觉得我们的评审对你有帮助,欢迎分享 ✨
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续的评审。
Original comment in English

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

该 PR 为通用关闭按钮模板 CloseButtonType1 增加 Hover(悬停态)识别能力,以兼容鼠标悬浮导致按钮外观变化的场景,提升关闭按钮识别覆盖面与稳定性。

Changes:

  • __CloseButtonType1 从单一模板匹配调整为 Or 聚合识别(Stable/Hover 两种子模板短路匹配)
  • 新增 __CloseButtonType1Hover 节点与对应的 Hover 模板图片资源

Reviewed changes

Copilot reviewed 1 out of 2 changed files in this pull request and generated 1 comment.

File Description
assets/resource/pipeline/Common/Button/CloseButtonType1.json 引入 Stable/Hover 两种识别分支,并用 Or 聚合到 __CloseButtonType1
assets/resource/image/Common/Button/CloseButtonType1Hover.png 新增 CloseButtonType1 的 Hover 态模板图

@Daydreamer114 Daydreamer114 changed the title feat:CloseButtonType1支持Hover feat: CloseButtonType1支持Hover Mar 23, 2026
@MistEO MistEO merged commit f813e6b into v2 Mar 23, 2026
18 checks passed
@MistEO MistEO deleted the feat/Button branch March 23, 2026 15:58
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