Skip to content

Commit c894bf7

Browse files
committed
修复点击物品过期提示时候出现的,图像roi溢出问题
1 parent 4cb3e90 commit c894bf7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

BetterGenshinImpact/GameTask/AutoArtifactSalvage/AutoArtifactSalvageTask.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@ public static async Task OpenInventory(GridScreenName gridScreenName, InputSimul
146146
if (Bv.IsInPromptDialog(ra))
147147
{
148148
// 如果存在物品过期提示,则点击确认按钮
149-
Bv.ClickWhiteConfirmButton(ra.DeriveCrop(0, 0, ra.Width, ra.Height - ra.Height / 0.2));
149+
Bv.ClickWhiteConfirmButton(ra.DeriveCrop(0, 0, ra.Width, ra.Height - ra.Height * 0.2));
150150
Sleep(300, ct);
151151
return false;
152152
}

0 commit comments

Comments
 (0)