Skip to content

Commit

Permalink
iOS: #1171 (autoscroll)
Browse files Browse the repository at this point in the history
The iPad position is now fixed.
  • Loading branch information
Dejal committed Jun 27, 2019
1 parent 6a1dc87 commit eb8979b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions clients/ios/Classes/StoryPageControl.m
Original file line number Diff line number Diff line change
Expand Up @@ -1647,10 +1647,8 @@ - (void)showAutoscrollBriefly:(BOOL)briefly {
if (self.autoscrollView.alpha == 0) {
if (self.isPhoneOrCompact) {
self.autoscrollBottomConstraint.constant = 50;
} else if (self.traverseView.alpha != 0) {
self.autoscrollBottomConstraint.constant = -7;
} else {
self.autoscrollBottomConstraint.constant = 20;
self.autoscrollBottomConstraint.constant = 0;
}

[self.view layoutIfNeeded];
Expand Down

0 comments on commit eb8979b

Please sign in to comment.