iOS: #1171 (autoscroll)

The iPad position is now fixed.
This commit is contained in:
David Sinclair 2019-06-26 18:38:42 -07:00
parent 6a1dc871c3
commit eb8979b1aa

View file

@ -1647,10 +1647,8 @@
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];