         }
         leftButton.layoutIfNeeded()
         rightButton.layoutIfNeeded()
-        isInAnimation.value = false
+        isAnimating.value = false
     }
     
 }

        button.setTitleColor(.white, for: .normal)
        button.contentEdgeInsets = UIEdgeInsets(top: 10, left: 10, bottom: 10, right: 10)
        let action = CocoaAction(workFactory: { (_) -> Observable<Void> in
            if !self.isInAnimation.value {
                self.animateButtons()
            }
            return .empty()

    var leftButtonRightAnchor: NSLayoutConstraint?
    var rightButtonLeftAnchor: NSLayoutConstraint?
    var rightButtonRightAnchor: NSLayoutConstraint?
    let isAnimating = Variable(false)
    
    // MARK: - Overloads
    
