Skip to content

Commit

Permalink
Make disableCircularSelectionAnimation public
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoine Gamond committed Jun 30, 2016
1 parent f69f5ac commit 3b4b209
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions CircleMenuLib/CircleMenu.swift
Original file line number Diff line number Diff line change
Expand Up @@ -97,10 +97,12 @@ public class CircleMenu: UIButton {
/// The object that acts as the delegate of the circle menu.
@IBOutlet weak public var delegate: AnyObject? //CircleMenuDelegate?

var buttons: [UIButton]?
public var customNormalIconView: UIImageView!
public var customSelectedIconView: UIImageView!

public var disableCircularSelectionAnimation = false

var buttons: [UIButton]?

var totalAngle: Float {
return endAngle - startAngle
}
Expand Down Expand Up @@ -268,8 +270,6 @@ public class CircleMenu: UIButton {
tapBounceAnimation()
tapRotatedAnimation(0.3, isSelected: isShow)
}

var disableCircularSelectionAnimation = false

func buttonHandler(sender: UIButton) {
guard case let sender as CircleMenuButton = sender else {
Expand Down

0 comments on commit 3b4b209

Please sign in to comment.