Skip to content

fix: 为 resource_fast 添加了新的确认按钮hover差分#1032

Merged
MistEO merged 2 commits intoMaaEnd:mainfrom
ray24777:main
Mar 6, 2026
Merged

fix: 为 resource_fast 添加了新的确认按钮hover差分#1032
MistEO merged 2 commits intoMaaEnd:mainfrom
ray24777:main

Conversation

@ray24777
Copy link
Contributor

@ray24777 ray24777 commented Mar 6, 2026

当使用协议空间自动战斗时,经常卡顿在配队界面,卡顿时鼠标悬停在进入战斗按钮上却不按下,推测是由于数据库中缺少鼠标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:

  • Add a new hover-state confirmation button variant to the resource_fast button configuration.

Enhancements:

  • Adjust button JSON configuration for resource_fast to align with other configuration items.

Copilot AI review requested due to automatic review settings March 6, 2026 03:44
Copy link
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.

你好——我已经审查了你的更改,一切看起来都很棒!


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
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 为 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 MistEO changed the title 为 resource_fast 添加了新的确认按钮hover差分,并仿照其他配置项修改了配置文件 fix: 为 resource_fast 添加了新的确认按钮hover差分 Mar 6, 2026
@MistEO MistEO merged commit 008981b into MaaEnd:main Mar 6, 2026
17 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