Update ItemNode.m

addSubnode self.soldOutOverlay twice
This commit is contained in:
Dafeng Jin
2016-02-16 10:30:39 +08:00
parent dc0db53a0d
commit a459752205

View File

@@ -127,8 +127,6 @@ const CGFloat kSoldOutGBHeight = 50.0;
self.soldOutLabelBackground.hidden = YES;
self.soldOutLabelFlat.hidden = YES;
[self addSubnode:self.soldOutOverlay];
if ([ItemNode isRTL]) {
self.titleLabel.alignSelf = ASStackLayoutAlignSelfEnd;
self.firstInfoLabel.alignSelf = ASStackLayoutAlignSelfEnd;