移除 RoomAnimationView 中的调试背景色设置,提升代码整洁性和可维护性。

This commit is contained in:
edwinQQQ
2025-08-21 18:25:46 +08:00
parent 09a2b2f02b
commit 1bfc989fe9

View File

@@ -2662,9 +2662,6 @@ BannerSchedulerDelegate
if (!_bannerSwipeGestureContainer) {
_bannerSwipeGestureContainer = [[UIView alloc] init];
_bannerSwipeGestureContainer.userInteractionEnabled = YES;
#if DEBUG
_bannerSwipeGestureContainer.backgroundColor = [UIColor colorWithRed:1 green:0 blue:0 alpha:0.4];
#endif
}
return _bannerSwipeGestureContainer;
}
@@ -2673,9 +2670,6 @@ BannerSchedulerDelegate
if (!_bannerLeftTapGestureContainer) {
_bannerLeftTapGestureContainer = [[UIView alloc] init];
_bannerLeftTapGestureContainer.userInteractionEnabled = YES;
#if DEBUG
_bannerLeftTapGestureContainer.backgroundColor = [UIColor colorWithRed:0 green:1 blue:0 alpha:0.4];
#endif
}
return _bannerLeftTapGestureContainer;
}
@@ -2684,9 +2678,6 @@ BannerSchedulerDelegate
if (!_bannerRightTapGestureContainer) {
_bannerRightTapGestureContainer = [[UIView alloc] init];
_bannerRightTapGestureContainer.userInteractionEnabled = YES;
#if DEBUG
_bannerRightTapGestureContainer.backgroundColor = [UIColor colorWithRed:0 green:0 blue:1 alpha:0.4];
#endif
}
return _bannerRightTapGestureContainer;
}