Skip to content
This repository has been archived by the owner on Feb 13, 2019. It is now read-only.

Commit

Permalink
Update isFloating check
Browse files Browse the repository at this point in the history
  • Loading branch information
louisdh committed May 30, 2018
1 parent 394d7e0 commit 71d105a
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions PanelKit/Controller/PanelViewController+States.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,6 @@ extension PanelViewController {

@objc public var isFloating: Bool {

guard manager?.allowFloatingPanels == true else {
return false
}

if isPresentedAsPopover {
return false
}
Expand All @@ -53,7 +49,7 @@ extension PanelViewController {
return false
}

guard view.superview != nil else {
guard view.superview == self.manager?.panelContentWrapperView else {
return false
}

Expand Down

0 comments on commit 71d105a

Please sign in to comment.