Skip to content

Commit

Permalink
Fix for Dynamic shadowOpacity and shadowRadius #188, pod version bump.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyleecodes committed Apr 4, 2018
1 parent bbb8dfa commit 933ae6f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Pulley.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

Pod::Spec.new do |s|
s.name = 'Pulley'
s.version = '2.3.1'
s.version = '2.3.2'
s.summary = 'A library to imitate the iOS 10 Maps UI.'

# This description is used to generate tags and improve search results.
Expand Down
4 changes: 4 additions & 0 deletions PulleyLib/PulleyViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,7 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
didSet {
if self.isViewLoaded
{
drawerShadowView.layer.shadowOpacity = shadowOpacity
self.view.setNeedsLayout()
}
}
Expand All @@ -344,6 +345,7 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
didSet {
if self.isViewLoaded
{
drawerShadowView.layer.shadowRadius = shadowRadius
self.view.setNeedsLayout()
}
}
Expand All @@ -370,6 +372,7 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
}
}

/// The drawer scrollview's delaysContentTouches setting
@IBInspectable public var delaysContentTouches: Bool = true {
didSet {
if self.isViewLoaded
Expand All @@ -379,6 +382,7 @@ open class PulleyViewController: UIViewController, PulleyDrawerViewControllerDel
}
}

/// The drawer scrollview's canCancelContentTouches setting
@IBInspectable public var canCancelContentTouches: Bool = true {
didSet {
if self.isViewLoaded
Expand Down

0 comments on commit 933ae6f

Please sign in to comment.