disable focus effects on overlay icon
This commit is contained in:
parent
e862dbd6b6
commit
466ebe2840
1 changed files with 1 additions and 4 deletions
|
|
@ -68,10 +68,7 @@ static UIImage* noImage;
|
|||
if ([_app.id isEqualToString:_app.host.currentGame]) {
|
||||
// Only create the app overlay if needed
|
||||
_appOverlay = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"Play"]];
|
||||
#if TARGET_OS_TV
|
||||
_appOverlay.adjustsImageWhenAncestorFocused = YES;
|
||||
_appOverlay.userInteractionEnabled = YES;
|
||||
#else
|
||||
#if !TARGET_OS_TV
|
||||
_appOverlay.layer.shadowColor = [UIColor blackColor].CGColor;
|
||||
_appOverlay.layer.shadowOffset = CGSizeMake(0, 0);
|
||||
_appOverlay.layer.shadowOpacity = 1;
|
||||
|
|
|
|||
Loading…
Reference in a new issue