Skip to content

Commit

Permalink
Possiable fix for issue #396 related to iOS 14 feedback loops
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmentflam committed Sep 30, 2020
1 parent d261895 commit 20631d8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,9 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
return
}

self.view.setNeedsLayout()
if oldValue != supportedPositions {
self.view.setNeedsLayout()
}

if supportedPositions.contains(drawerPosition)
{
Expand Down

0 comments on commit 20631d8

Please sign in to comment.