Commit f99b6dfd by Daniel Dahan

issue-1110: Fixed an issue where the depth of a view was being clipped from incorrectly.

parent af81c22e
## 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).
......
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.'
......
......@@ -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>
......
......@@ -268,12 +268,10 @@ extension CALayer {
}
guard .circle == shapePreset else {
masksToBounds = false
cornerRadius = 0
return
}
masksToBounds = true
cornerRadius = bounds.width / 2
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment