Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a4d60e40f7 | ||
|
|
938a7a13c0 |
@@ -12,8 +12,7 @@ import UIKit
|
||||
open class ExpandingTableViewController: UITableViewController {
|
||||
|
||||
// MARK: Vars
|
||||
|
||||
/// The height of the table view header
|
||||
/// The height of the table view header, set before transition
|
||||
open var headerHeight: CGFloat = 236
|
||||
|
||||
var transitionDriver: TransitionDriver?
|
||||
|
||||
@@ -227,7 +227,7 @@ extension TransitionDriver {
|
||||
}
|
||||
|
||||
backViewFrame.origin.y = cell.backConstraintY.constant
|
||||
cell.backConstraintY.constant = view.bounds.size.height / 2 - (view.bounds.size.height - 236) / 2 + insets
|
||||
cell.backConstraintY.constant = view.bounds.size.height / 2 - (view.bounds.size.height - height) / 2 + insets
|
||||
}
|
||||
|
||||
fileprivate func closeBackViewConfigurationConstraints(_ cell: BasePageCollectionCell?) {
|
||||
|
||||
Reference in New Issue
Block a user