mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-06-17 06:01:13 +00:00
Fix transparent app grid background being incorrectly overridden
This commit is contained in:
@@ -190,8 +190,12 @@ 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) {
|
||||||
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
|
self.backgroundColor = nil;
|
||||||
|
}
|
||||||
|
if (nextButton.superview == self) {
|
||||||
|
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user