Skip to content

Commit

Permalink
Update KYDrawerController.swift
Browse files Browse the repository at this point in the history
fix drawer dismiss fail
  • Loading branch information
ripplek authored Aug 10, 2018
1 parent bf65f05 commit fc2f86f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KYDrawerController/Classes/KYDrawerController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ open class KYDrawerController: UIViewController, UIGestureRecognizerDelegate {

public var drawerState: DrawerState {
get { return _containerView.isHidden ? .closed : .opened }
set { setDrawerState(drawerState, animated: false) }
set { setDrawerState(newValue, animated: false) }
}

@IBInspectable public var drawerWidth: CGFloat = 280 {
Expand Down

0 comments on commit fc2f86f

Please sign in to comment.