mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-04-11 18:36:06 +00:00
fixed app image looking stretched
This commit is contained in:
@@ -30,8 +30,8 @@ static int LABEL_DY = 20;
|
||||
|
||||
[self addSubview:_appButton];
|
||||
[self sizeToFit];
|
||||
_appButton.frame = CGRectMake(0, 0, noImage.size.width / 2, noImage.size.height / 2);
|
||||
self.frame = CGRectMake(0, 0, noImage.size.width / 2, noImage.size.height / 2);
|
||||
_appButton.frame = CGRectMake(0, 0, noImage.size.width, noImage.size.height);
|
||||
self.frame = CGRectMake(0, 0, noImage.size.width, noImage.size.height);
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user