Skip to content

Commit

Permalink
Fix close Button (#1780)
Browse files Browse the repository at this point in the history
* lower priority of the close
* increase close area detection

---------

Co-authored-by: arthur <16458204+ArthurKun021@users.noreply.github.com>
  • Loading branch information
ArthurKun21 and ArthurKun21 committed Mar 30, 2024
1 parent 2617174 commit c4ad646
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -186,10 +186,10 @@ class AutoBattle @Inject constructor(
{ isInResult() } to { result() },
{ isInDropsScreen() } to { dropScreen() },
{ isInOrdealCallOutOfPodsScreen() } to { ordealCallOutOfPods() },
{ isInInterludeEndScreen() } to { locations.interludeCloseClick.click() },
{ isInQuestRewardScreen() } to { questReward() },
{ isInSupport() } to { support() },
{ isRepeatScreen() } to { repeatQuest() },
{ isInInterludeEndScreen() } to { locations.interludeCloseClick.click() },
{ withdraw.needsToWithdraw() } to { withdraw.withdraw() },
{ needsToStorySkip() } to { skipStory() },
{ isFriendRequestScreen() } to { skipFriendRequestScreen() },
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class Locations @Inject constructor(
val ordealCallOutOfPodsClick = Location(-2, 1124).xFromCenter()

val interludeCloseClick = Location(-399, 1125).xFromCenter()
val interludeEndScreenClose = Region(-509, 1089, 219, 72).xFromCenter()
val interludeEndScreenClose = Region(-515, 1080, 230, 90).xFromCenter()

val menuScreenRegion =
(if (isWide)
Expand Down

0 comments on commit c4ad646

Please sign in to comment.