|
@@ -498,11 +498,11 @@ class ViewController: UITabBarController, UITabBarControllerDelegate {
|
|
|
let xCCPosition = ViewController.ccButton.frame.origin.x
|
|
|
let yCCPosition = ViewController.ccButton.frame.origin.y + 90
|
|
|
|
|
|
- let xStreamingPosition = ViewController.streamingButton.frame.origin.x - 50
|
|
|
- let yStreamingPosition = ViewController.streamingButton.frame.origin.y + 70
|
|
|
+ let xPostPosition = ViewController.postButton.frame.origin.x - 50
|
|
|
+ let yPostPosition = ViewController.postButton.frame.origin.y + 70
|
|
|
|
|
|
- let xPostPosition = ViewController.postButton.frame.origin.x - 80
|
|
|
- let yPostPosition = ViewController.postButton.frame.origin.y + 20
|
|
|
+ let xStreamingPosition = ViewController.streamingButton.frame.origin.x - 80
|
|
|
+ let yStreamingPosition = ViewController.streamingButton.frame.origin.y + 20
|
|
|
UIView.animate(withDuration: 0.5, animations: {
|
|
|
// if !ViewController.isBlue {
|
|
|
// ViewController.middleButton.transform = CGAffineTransform(rotationAngle: 0)
|
|
@@ -530,11 +530,11 @@ class ViewController: UITabBarController, UITabBarControllerDelegate {
|
|
|
let xCCPosition = ViewController.ccButton.frame.origin.x
|
|
|
let yCCPosition = ViewController.ccButton.frame.origin.y - 90
|
|
|
|
|
|
- let xStreamingPosition = ViewController.streamingButton.frame.origin.x + 50
|
|
|
- let yStreamingPosition = ViewController.streamingButton.frame.origin.y - 70
|
|
|
+ let xPostPosition = ViewController.postButton.frame.origin.x + 50
|
|
|
+ let yPostPosition = ViewController.postButton.frame.origin.y - 70
|
|
|
|
|
|
- let xPostPosition = ViewController.postButton.frame.origin.x + 80
|
|
|
- let yPostPosition = ViewController.postButton.frame.origin.y - 20
|
|
|
+ let xStreamingPosition = ViewController.streamingButton.frame.origin.x + 80
|
|
|
+ let yStreamingPosition = ViewController.streamingButton.frame.origin.y - 20
|
|
|
UIView.animate(withDuration: 0.5, animations: {
|
|
|
// if !ViewController.isBlue{
|
|
|
// ViewController.middleButton.transform = CGAffineTransform(rotationAngle: .pi / 2)
|