Commit 297ff970 by Daniel Dahan

fixed issue with FabButton when using AutoLayout

parent 94247f6f
Pod::Spec.new do |s|
s.name = 'MK'
s.version = '1.17.0'
s.version = '1.18.0'
s.license = { :type => "AGPLv3+", :file => "LICENSE" }
s.summary = 'A Material Design Framework In Swift'
s.homepage = 'http://materialkit.io'
......
......@@ -19,6 +19,16 @@
import UIKit
public class FabButton : MaterialButton {
/**
:name: layoutSubviews
*/
public override func layoutSubviews() {
super.layoutSubviews()
if false == translatesAutoresizingMaskIntoConstraints {
prepareShape()
}
}
//
// :name: prepareView
//
......
......@@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>1.17.0</string>
<string>1.18.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
......
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