修复了送十个涂鸦礼物 无法送出的bug

This commit is contained in:
fengshuo
2022-08-24 17:38:48 +08:00
parent 8479663314
commit d444fe1c26

View File

@@ -194,7 +194,7 @@
[self.viewsArray addObject:imageView];
[self.pointArray addObject:@[@([self changeWidthDraw:point.x]), @([self changeHeightDraw:point.y])]];
[self cratePriceAttribute];
if (self.pointArray.count > 10 && self.delegate && [self.delegate respondsToSelector:@selector(xPGraffitiGiftView:didDrawCompletion:)]) {
if (self.pointArray.count >= 10 && self.delegate && [self.delegate respondsToSelector:@selector(xPGraffitiGiftView:didDrawCompletion:)]) {
[self.delegate xPGraffitiGiftView:self didDrawCompletion:self.pointArray];
}
}