在 SessionListViewController 中添加了对最近会话的日志输出。在 LuckyGiftWinningBannerView 和 BravoGiftBannerView 中引入了可配置的显示时间,注释掉了不再使用的代码。在 XPRoomFunctionContainerView 中优化了 hitTest 方法以增强用户交互体验,确保子视图的点击响应逻辑更加清晰。更新了 MicroView 中的表情加载逻辑,增加了对下载失败情况的处理。保持代码结构一致性。

This commit is contained in:
edwinQQQ
2025-06-09 15:52:34 +08:00
parent 5985b5701e
commit 8dab721de9
7 changed files with 167 additions and 142 deletions

View File

@@ -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];