We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8634613 commit a39e64dCopy full SHA for a39e64d
1 file changed
Sources/InfoView.swift
@@ -127,7 +127,7 @@ class InfoView: UIVisualEffectView {
127
borderView.isHidden = false
128
129
animate(blurStyle: .light)
130
- animate(borderViewAngle: CGFloat(M_PI_2))
+ animate(borderViewAngle: CGFloat(Double.pi/2))
131
}
132
133
/**
@@ -164,7 +164,7 @@ class InfoView: UIVisualEffectView {
164
animations: {
165
self.borderView.transform = CGAffineTransform(rotationAngle: borderViewAngle)
166
}, completion: { [weak self] _ in
167
- self?.animate(borderViewAngle: borderViewAngle + CGFloat(M_PI_2))
+ self?.animate(borderViewAngle: borderViewAngle + CGFloat(Double.pi/2))
168
})
169
170
0 commit comments