     
     init(controller:CCameraRotate)
     {
-        borderMargin = (kImageMargin - kImageBorder) * 2
+        borderMargin = kImageMargin - kImageBorder
         
         super.init(frame:CGRect.zero)
         clipsToBounds = true

        layoutBorderTop = NSLayoutConstraint.topToTop(
            view:border,
            toView:self)
        layoutBorderBottom = NSLayoutConstraint.bottomToTop(
            view:border,
            toView:self)
        layoutBorderLeft = NSLayoutConstraint.leftToLeft(

            let deltaHeightWidth:CGFloat = height - width
            let deltaHeightWidth_2:CGFloat = deltaHeightWidth / 2.0
            
            hrMargin = borderMargin
            vrMargin = borderMargin + deltaHeightWidth_2
        }
        else
        {
            let deltaWidthHeight:CGFloat = width - height
            let deltaWidthHeight_2:CGFloat = deltaWidthHeight / 2.0
            
            vrMargin = borderMargin
            hrMargin = borderMargin + deltaWidthHeight_2
        }
        
        layoutBorderTop.constant = vrMargin
