 //
-// Copyright (c) 2019 T-Pro
+// Copyright (c) 2020 T-Pro
 //
 // Permission is hereby granted, free of charge, to any person
 // obtaining a copy of this software and associated documentation

            fatalError("Error to take snapshots")
        }

        fromViewControllerSnapshot.isOpaque = true
        toViewControllerSnapshot.isOpaque = true


          switch revealType {
            
          case RevealType.reveal:

            transactionContext.containerView.insertSubview(
              toView,
              aboveSubview: fromView)

            fadeView.alpha = 0.0
            transactionContext.containerView.insertSubview(
              fadeView,
              belowSubview: toView)

            UIView.animate(withDuration: duration) {
              fadeView.alpha = 1.0
            }

            toView.drawAnimatedCircularMask(
              startFrame: rect,
              duration: animationTime,
