Fix transparent app grid background being incorrectly overridden

This commit is contained in:
Cameron Gutman
2019-08-31 20:19:03 -07:00
parent bf8aaa8198
commit 49fc10191c

View File

@@ -190,8 +190,12 @@ static const int LABEL_DY = 20;
UIButton *previousButton = (UIButton *)context.previouslyFocusedItem;
UIButton *nextButton = (UIButton *) context.nextFocusedItem;
previousButton.superview.backgroundColor = nil;
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
if (previousButton.superview == self) {
self.backgroundColor = nil;
}
if (nextButton.superview == self) {
nextButton.superview.backgroundColor = [UIColor darkGrayColor];
}
}
#endif