1 Commits

Author SHA1 Message Date
Oskar 047205a881 Default ratio off 2018-08-08 21:59:18 +02:00
2 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -68,7 +68,7 @@ import QuartzCore
reloadLayer()
}
}
@IBInspectable public var ignoreRatio: Bool = false {
@IBInspectable public var ignoreRatio: Bool = true {
didSet {
reloadLayer()
}
@@ -121,10 +121,10 @@ import QuartzCore
isEnabled = true
setupLayers()
reloadLayerSize()
reloadLayer()
setupIcon()
reloadLayer()
}
public func setOn(isOn: Bool, animated: Bool) {
if self.isOn != isOn {
self.isOn = isOn