mirror of
https://github.com/MaaAssistantArknights/MaaAssistantArknights.git
synced 2026-07-18 18:20:39 +08:00
fix: 修复在部分情况下,编队时干员页面最边缘干员名字显示不完整
This commit is contained in:
@@ -267,7 +267,7 @@ std::vector<asst::TextRect> asst::BattleFormationTask::analyzer_opers()
|
||||
return std::abs(pre.flag_rect.x - res.flag_rect.x) < kMinDistance &&
|
||||
std::abs(pre.flag_rect.y - res.flag_rect.y) < kMinDistance;
|
||||
});
|
||||
if (find_it != opers_result.end()) {
|
||||
if (find_it != opers_result.end() || res.text.empty()) {
|
||||
continue;
|
||||
}
|
||||
opers_result.emplace_back(std::move(res));
|
||||
|
||||
Reference in New Issue
Block a user