Compare commits

...
2 Commits
Author SHA1 Message Date
Alex K a4d60e40f7 Merge branch 'fix69'
# Conflicts:
#	Source/ExpandingTableViewController/ExpandingTableViewController.swift
#	Source/TransitionDriver/TransitionDriver.swift
2018-01-24 12:00:23 +03:00
Alex K 938a7a13c0 Fixes #69 2018-01-24 11:57:57 +03:00
2 changed files with 2 additions and 3 deletions
@@ -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?) {