here was a mistake, when we opened the browser, and then turned the device activity light remained in the same place that looked incorrectly https://www.dropbox.com/s/mc55lvapyqaetpo/Simulator%20Screen%20Shot%20Apr%205%2C%202016%2C%202.29.37%20PM.png?dl=0
This commit is contained in:
parent
1af051b8a2
commit
9777879583
|
|
@ -16,7 +16,7 @@ class SKIndicatorView: UIActivityIndicatorView {
|
|||
|
||||
override init(frame: CGRect) {
|
||||
super.init(frame: frame)
|
||||
center = CGPoint(x: frame.width/2, y: frame.height/2)
|
||||
center = CGPoint(x: frame.width / 2, y: frame.height / 2)
|
||||
activityIndicatorViewStyle = .WhiteLarge
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -74,9 +74,13 @@ public class SKZoomingScrollView: UIScrollView, UIScrollViewDelegate, SKDetectin
|
|||
}
|
||||
|
||||
// MARK: - override
|
||||
|
||||
public override func layoutSubviews() {
|
||||
tapView.frame = bounds
|
||||
|
||||
//
|
||||
indicatorView.frame = frame
|
||||
|
||||
super.layoutSubviews()
|
||||
|
||||
let boundsSize = bounds.size
|
||||
|
|
|
|||
Loading…
Reference in New Issue