             NSLocalizedString("VDrawProjectRotate_buttonReset", comment:""),
             for:UIControlState.normal)
         buttonReset.titleLabel!.font = UIFont.regular(size:14)
+        buttonReset.addTarget(
+            self,
+            action:#selector(actionReset(sender:)),
+            for:UIControlEvents.touchUpInside)
         
         let buttonDone:UIButton = UIButton()
         buttonDone.translatesAutoresizingMaskIntoConstraints = false

{
    private weak var controller:CDrawProject!
    private weak var node:DNode?
    private weak var layoutDoneLeft:NSLayoutConstraint!
    private weak var layoutResetLeft:NSLayoutConstraint!
    private let kAnimationDuration:TimeInterval = 0.3
    private let kButtonWidth:CGFloat = 120
    private let kButtonHeight:CGFloat = 36
    private let kButtonBottom:CGFloat = -20
    
    init(
        controller:CDrawProject,

        layoutResetLeft.constant = buttonMargin
        
        super.layoutSubviews()
    }
    
    //MARK: actions
    
    func actionDone(sender button:UIButton)
    {
        animateHide()
    }
    
    func actionReset(sender button:UIButton)
    {
        slider.value = 0
    }
    
    //MARK: private
