Commit c9b49db4 authored by 侯超鑫's avatar 侯超鑫

【735直播】直播小框大小的调整

parent 5cc58d15
...@@ -154,8 +154,8 @@ ...@@ -154,8 +154,8 @@
self.layer.cornerRadius = 18; self.layer.cornerRadius = 18;
_isExpanded = NO; _isExpanded = NO;
[UIView animateWithDuration:0.25f animations:^{ [UIView animateWithDuration:0.25f animations:^{
self.transform = CGAffineTransformMakeScale(0.24, (MAINSCREEN_WIDTH * 0.24 * 1.78)/MAINSCREEN_HEIGHT); self.transform = CGAffineTransformMakeScale(0.28, (MAINSCREEN_WIDTH * 0.28 * 1.78)/MAINSCREEN_HEIGHT);
self.frame = CGRectMake(MAINSCREEN_WIDTH * 0.76, 85, MAINSCREEN_WIDTH * 0.24, MAINSCREEN_WIDTH * 0.24 * 1.78); self.frame = CGRectMake(MAINSCREEN_WIDTH * 0.72 - 10, 85, MAINSCREEN_WIDTH * 0.28, MAINSCREEN_WIDTH * 0.28 * 1.78);
} completion:^(BOOL finished) { } completion:^(BOOL finished) {
[self addGestureRecognizer:self.tapGesture]; [self addGestureRecognizer:self.tapGesture];
[self addGestureRecognizer:self.panGesture]; [self addGestureRecognizer:self.panGesture];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment