#1485 (story paging resistance)

- Boo for fractions!
This commit is contained in:
David Sinclair 2021-05-22 16:13:25 -07:00
parent 9fb7d33906
commit 2e45a55847

View file

@ -377,6 +377,12 @@
} }
- (void)viewDidLayoutSubviews { - (void)viewDidLayoutSubviews {
CGRect frame = self.scrollView.frame;
if (frame.size.width != floor(frame.size.width)) {
self.scrollView.frame = CGRectMake(frame.origin.x, frame.origin.y, floor(frame.size.width), floor(frame.size.height));
}
[super viewDidLayoutSubviews]; [super viewDidLayoutSubviews];
// [self reorientPages]; // [self reorientPages];
} }