Skip to content

Commit

Permalink
Fix A+B combo regression
Browse files Browse the repository at this point in the history
  • Loading branch information
LIJI32 committed Oct 13, 2024
1 parent 73a6d35 commit 52d5169
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions iOS/GBHorizontalLayout.m
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,8 @@ - (instancetype)initWithTheme:(GBTheme *)theme cutoutOnRight:(bool)cutoutOnRight
self.dpadLocation.y,
};

self.abComboLocation = buttonsCenter;

self.aLocation = (CGPoint) {
round(buttonsCenter.x + buttonsDelta.width / 2),
round(buttonsCenter.y - buttonsDelta.height / 2)
Expand Down

0 comments on commit 52d5169

Please sign in to comment.