Merge branch 'develop' into feature/pagination
This commit is contained in:
commit
d259e0c593
@ -132,4 +132,8 @@ open class Control: UIControl, ViewProtocol, UserInfoable, Clickable {
|
||||
return true
|
||||
}
|
||||
|
||||
open override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
setNeedsUpdate()
|
||||
}
|
||||
}
|
||||
|
||||
@ -86,4 +86,9 @@ open class View: UIView, ViewProtocol, UserInfoable {
|
||||
isEnabled = true
|
||||
}
|
||||
|
||||
open override func layoutSubviews() {
|
||||
super.layoutSubviews()
|
||||
setNeedsUpdate()
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@ -80,7 +80,7 @@ open class Loader: View {
|
||||
super.updateView()
|
||||
icon.color = iconColorConfiguration.getColor(self)
|
||||
icon.customSize = size
|
||||
if isActive {
|
||||
if isActive && isVisibleOnScreen {
|
||||
startAnimating()
|
||||
} else {
|
||||
stopAnimating()
|
||||
|
||||
Loading…
Reference in New Issue
Block a user