Skip to content

Commit

Permalink
issue-1110: Fixed an issue where the depth of a view was being clippe…
Browse files Browse the repository at this point in the history
…d from incorrectly.
  • Loading branch information
Daniel Dahan committed Jul 5, 2018
1 parent af81c22 commit f99b6df
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 2.16.1

* [issue-1110](https://github.com/CosmicMind/Material/issues/1110): Fixed an issue where the depth of a view was being clipped from incorrectly.

## 2.16.0

* Updated to [Motion 1.4.2](https://github.com/CosmicMind/Motion/releases/tag/1.4.2).
Expand Down
2 changes: 1 addition & 1 deletion Material.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'Material'
s.version = '2.16.0'
s.version = '2.16.1'
s.swift_version = '4.0'
s.license = 'BSD-3-Clause'
s.summary = 'A UI/UX framework for creating beautiful applications.'
Expand Down
2 changes: 1 addition & 1 deletion Sources/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>2.16.0</string>
<string>2.16.1</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
2 changes: 0 additions & 2 deletions Sources/iOS/Material+CALayer.swift
Original file line number Diff line number Diff line change
Expand Up @@ -268,12 +268,10 @@ extension CALayer {
}

guard .circle == shapePreset else {
masksToBounds = false
cornerRadius = 0
return
}

masksToBounds = true
cornerRadius = bounds.width / 2
}

Expand Down

0 comments on commit f99b6df

Please sign in to comment.