Skip to content

fix: 协议空间低理智检测改为依赖弹窗, 以及进入协议空间等待动画完成#1139

Merged
MistEO merged 2 commits intoMaaEnd:mainfrom
fuhaixi:fix-protocalspace
Mar 9, 2026
Merged

fix: 协议空间低理智检测改为依赖弹窗, 以及进入协议空间等待动画完成#1139
MistEO merged 2 commits intoMaaEnd:mainfrom
fuhaixi:fix-protocalspace

Conversation

@fuhaixi
Copy link
Contributor

@fuhaixi fuhaixi commented Mar 9, 2026

#1064 之前使用的是识别右下角的理智红字,但是背景如果带一点红色就可能误判,改为识别理智不足弹窗
#1141 等待动画完成

Summary by Sourcery

错误修复:

  • 通过改用基于弹窗的检测方式,防止在屏幕背景包含红色元素时,低理智值检测出现误报。
Original summary in English

Summary by Sourcery

Bug Fixes:

  • Prevent false positives in low-sanity detection when the screen background contains red elements by switching to popup-based detection.

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.

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.

@fuhaixi fuhaixi changed the title fix: 协议空间低理智检测改为依赖弹窗 fix: 协议空间低理智检测改为依赖弹窗, 以及进入协议空间等待动画完成 Mar 9, 2026
@MistEO MistEO merged commit 36b86c6 into MaaEnd:main Mar 9, 2026
17 checks passed
MistEO pushed a commit that referenced this pull request Mar 9, 2026
MistEO pushed a commit that referenced this pull request Mar 9, 2026
@zmdyy0318
Copy link
Contributor

不能改成依赖弹窗,这个弹窗不会一定显示,如果被用户禁止显示了会死循环

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