fix: 为 resource_fast 添加了新的确认按钮hover差分#1032
Merged
MistEO merged 2 commits intoMaaEnd:mainfrom Mar 6, 2026
Merged
Conversation
Contributor
There was a problem hiding this comment.
你好——我已经审查了你的更改,一切看起来都很棒!
帮我变得更有用!请在每条评论上点 👍 或 👎,我会根据你的反馈改进后续评审。
Original comment in English
Hey - I've reviewed your changes and they look great!
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.
Contributor
There was a problem hiding this comment.
Pull request overview
本次 PR 为 resource_fast 的通用按钮识别资源补充了“黄色确认按钮(Type2)”在鼠标悬停(hover)状态下的差分模板,用于提升 PC 场景下 TemplateMatch 的识别稳定性,整体变更与同文件中其它按钮(如 Type1、取消按钮等)的 hover 处理方式保持一致。
Changes:
- 在
YellowConfirmButtonType2的 TemplateMatch 模板列表中新增 hover 模板条目 - 新增对应的 hover 模板图片资源
YellowConfirmButtonType2Hover.png
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| assets/resource_fast/pipeline/Common/Button.json | 为 YellowConfirmButtonType2 的 template 数组追加 hover 模板路径以兼容悬停态 |
| assets/resource_fast/image/Common/Button/YellowConfirmButtonType2Hover.png | 新增黄色确认按钮 Type2 的 hover 状态模板图片 |
MistEO
pushed a commit
that referenced
this pull request
Mar 9, 2026
MistEO
pushed a commit
that referenced
this pull request
Mar 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
当使用协议空间自动战斗时,经常卡顿在配队界面,卡顿时鼠标悬停在进入战斗按钮上却不按下,推测是由于数据库中缺少鼠标hover时的差分数据导致的。本pr参考其他按钮的配置,加入了类似的判断。
Summary by Sourcery
更新
resource_fast按钮配置。新功能:
resource_fast按钮配置新增一种悬停状态下的确认按钮变体。改进:
resource_fast的按钮 JSON 配置,使其与其他配置项保持一致。Original summary in English
Summary by Sourcery
Update resource_fast button configuration.
New Features:
Enhancements: