mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 22:23:52 +00:00
Fix transparent app grid background being incorrectly overridden
This commit is contained in:
@@ -190,9 +190,13 @@ static const int LABEL_DY = 20;
|
|||||||
UIButton *previousButton = (UIButton *)context.previouslyFocusedItem;
|
UIButton *previousButton = (UIButton *)context.previouslyFocusedItem;
|
||||||
UIButton *nextButton = (UIButton *) context.nextFocusedItem;
|
UIButton *nextButton = (UIButton *) context.nextFocusedItem;
|
||||||
|
|
||||||
previousButton.superview.backgroundColor = nil;
|
if (previousButton.superview == self) {
|
||||||
|
self.backgroundColor = nil;
|
||||||
|
}
|
||||||
|
if (nextButton.superview == self) {
|
||||||
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
|
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
|
||||||
}
|
}
|
||||||
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|||||||
Reference in New Issue
Block a user