From 1172ad57d74e20b0e2c7ab044ff447678616ae6b Mon Sep 17 00:00:00 2001 From: Gautier Pelloux-Prayer Date: Thu, 12 Nov 2015 15:45:03 +0100 Subject: [PATCH] Call: try to not resize video when toggling controls... --- Classes/Base.lproj/CallView.xib | 19 +++++++------------ Classes/CallView.m | 13 +++++-------- 2 files changed, 12 insertions(+), 20 deletions(-) diff --git a/Classes/Base.lproj/CallView.xib b/Classes/Base.lproj/CallView.xib index 9fb54a674..ed394cfe1 100644 --- a/Classes/Base.lproj/CallView.xib +++ b/Classes/Base.lproj/CallView.xib @@ -1,8 +1,8 @@ - + - + @@ -126,7 +126,7 @@ - + @@ -142,11 +142,11 @@ - + - + @@ -233,7 +233,7 @@ - + - + @@ -779,9 +779,4 @@ - - - - - diff --git a/Classes/CallView.m b/Classes/CallView.m index ccc457916..2769e5340 100644 --- a/Classes/CallView.m +++ b/Classes/CallView.m @@ -299,9 +299,9 @@ static UICompositeViewDescription *compositeDescription = nil; _routesView.alpha = _optionsView.alpha = _numpadView.alpha = _bottomBar.alpha = 1.0; _nameLabel.alpha = _durationLabel.alpha = .8; - CGRect newFrame = self.view.frame; - newFrame.size.height -= _bottomBar.frame.size.height; - _callView.frame = newFrame; + // CGRect newFrame = self.view.frame; + // newFrame.size.height -= _bottomBar.frame.size.height; + // _callView.frame = newFrame; [UIView commitAnimations]; @@ -332,13 +332,10 @@ static UICompositeViewDescription *compositeDescription = nil; _pausedCallsTable.tableView.alpha = _videoCameraSwitch.alpha = _nameLabel.alpha = _durationLabel.alpha = _callPauseButton.alpha = 0.0; _routesView.alpha = _optionsView.alpha = _numpadView.alpha = _bottomBar.alpha = 0.0; - CGRect newFrame = self.view.frame; - _callView.frame = newFrame; + // CGRect newFrame = self.view.frame; + // _callView.frame = newFrame; [UIView commitAnimations]; - - // UICompositeView *cvc = PhoneMainView.instance.mainViewController; - // [cvc hideSideMenu:YES]; } }