mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2026-10-26 14:00:00 +00:00
Fix transparent app grid background being incorrectly overridden
This commit is contained in:
1 parent
bf8aaa8198
commit
49fc10191c
1 file changed
+6
-2
@@ -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