在 SessionListViewController 中添加了对最近会话的日志输出。在 LuckyGiftWinningBannerView 和 BravoGiftBannerView 中引入了可配置的显示时间,注释掉了不再使用的代码。在 XPRoomFunctionContainerView 中优化了 hitTest 方法以增强用户交互体验,确保子视图的点击响应逻辑更加清晰。更新了 MicroView 中的表情加载逻辑,增加了对下载失败情况的处理。保持代码结构一致性。
This commit is contained in:
@@ -100,7 +100,7 @@ XPRoomGraffitiGiftAnimationViewDelegate
|
||||
@property (nonatomic, strong) XPRoomAnimationHitView *bannerContainer;
|
||||
|
||||
/// --- 进场
|
||||
/// 存放进房待播放动画的“队列”(这里用数组模拟队列 FIFO)
|
||||
/// 存放进房待播放动画的"队列"(这里用数组模拟队列 FIFO)
|
||||
@property (nonatomic, strong) NSMutableArray<NSDictionary *> *enterRoomAnimationQueue;
|
||||
/// 标记当前是否有进房动画在执行
|
||||
@property (nonatomic, assign) BOOL isEnterRoomAnimating;
|
||||
@@ -249,7 +249,7 @@ XPRoomGraffitiGiftAnimationViewDelegate
|
||||
|
||||
- (void)setupBanner {
|
||||
_roomBannertModelsQueueV2 = [NSMutableArray array];
|
||||
[self addBnnerContainGesture];
|
||||
// [self addBnnerContainGesture]; // 注释掉这行
|
||||
}
|
||||
|
||||
- (void)setupCar {
|
||||
@@ -2050,6 +2050,8 @@ XPRoomGraffitiGiftAnimationViewDelegate
|
||||
}
|
||||
|
||||
#pragma mark - Gesture
|
||||
// 注释掉整个方法
|
||||
/*
|
||||
- (void)addBnnerContainGesture {
|
||||
UISwipeGestureRecognizer *swipe = [[UISwipeGestureRecognizer alloc] initWithTarget:self
|
||||
action:@selector(handleSwipe)];
|
||||
@@ -2061,6 +2063,7 @@ XPRoomGraffitiGiftAnimationViewDelegate
|
||||
|
||||
[self.bannerContainer addGestureRecognizer:swipe];
|
||||
}
|
||||
*/
|
||||
|
||||
- (void)handleSwipe {
|
||||
[[NSNotificationCenter defaultCenter] postNotificationName:@"SwipeOutBanner" object:nil];
|
||||
|
Reference in New Issue
Block a user