             break
         default:
             break
+        }
+    }
+    
+    override func updateConstraints() {
+        super.updateConstraints()
+        if !layoutSetuped {
+            thumnailImageView.layer.cornerRadius = self.frame.height / 2.0
+            layoutSetuped = true
         }
     }
     

    }
    
    // MARK: UIPanGestureRecognizer
    @objc func handlePanGesture(_ sender: UIPanGestureRecognizer) {
        if isFinished || !isEnabled {
            return
        }


import UIKit

@objc protocol MTSlideToOpenDelegate {
    func mtSlideToOpenDelegateDidFinish(_ sender: MTSlideToOpenView)
}

class MTSlideToOpenView: UIView {
    // MARK: All Views
    let textLabel: UILabel = {
        let label = UILabel.init()
        return label
    }()
    let thumnailImageView: UIImageView = {
