Permalink
Browse files

Merge pull request #40 from joelmbell/bugfix

Fixing Bug #39
  • Loading branch information...
lkzhao committed Feb 25, 2017
2 parents 10c0d9e + 49467f8 commit d19598131eecd90865f42e669550429b44b0814c
Showing with 3 additions and 3 deletions.
  1. +3 −3 ElasticTransition/ElasticModalViewController.swift
@@ -8,7 +8,7 @@
import UIKit
public class ElasticModalViewController: UIViewController, ElasticMenuTransitionDelegate {
open class ElasticModalViewController: UIViewController, ElasticMenuTransitionDelegate {
public var dragDownTransformType:ElasticTransitionBackgroundTransform = .subtle
public var dragRightTransformType:ElasticTransitionBackgroundTransform = .translatePull
@@ -48,7 +48,7 @@ public class ElasticModalViewController: UIViewController, ElasticMenuTransition
modalPresentationStyle = .custom
}
public override func viewWillAppear(_ animated: Bool) {
open override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
leftDissmissPanGestureRecognizer.addTarget(self, action: #selector(handleLeftPan))
@@ -57,7 +57,7 @@ public class ElasticModalViewController: UIViewController, ElasticMenuTransition
modalTransition.foregroundExitPanGestureRecognizer.require(toFail: leftDissmissPanGestureRecognizer)
}
public override func viewDidAppear(_ animated: Bool) {
open override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
modalTransition.edge = .bottom
modalTransition.transformType = dragDownTransformType

0 comments on commit d195981

Please sign in to comment.