Skip to content
Snippets Groups Projects
Commit a9908a3b authored by Kateryna Kostiuk's avatar Kateryna Kostiuk
Browse files

conference: update for zero size layout

Change-Id: I068de11ac3339de6b3233afa429d5a259fffc691
parent cd027889
Branches
No related tags found
No related merge requests found
......@@ -126,6 +126,7 @@ CGFloat const controlSize = 40;
[self.superview layoutSubtreeIfNeeded];
CGSize viewSize = self.superview.frame.size;
if (viewSize.width == 0 || viewSize.height == 0 || self.framesize.width == 0 || self.framesize.height == 0 || self.participant.width == 0 || self.participant.hight == 0) {
self.frame = CGRectZero;
return;
}
CGFloat viewRatio = viewSize.width / viewSize.height;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment