@@ -62,7 +62,6 @@ final class EmotionRegistrationViewController: BaseViewController<EmotionRegiste
6262 private var isMarbleHeld = false
6363 private var marbleImageViewMidY : CGFloat ?
6464 private var marbleImageViewPanGesture : UIPanGestureRecognizer ?
65- private var infoSwipeOverlayViewPanGesturePanGesture : UIPanGestureRecognizer ?
6665 private var emotion : Emotion ?
6766 private var dataSource : UICollectionViewDiffableDataSource < Int , Emotion > ?
6867 private var cancellables : Set < AnyCancellable >
@@ -130,7 +129,6 @@ final class EmotionRegistrationViewController: BaseViewController<EmotionRegiste
130129
131130 infoSwipeOverlayView. backgroundColor = . clear
132131 infoSwipeOverlayView. isUserInteractionEnabled = false
133- infoSwipeOverlayView. backgroundColor = . clear
134132
135133 infoLabel. numberOfLines = 0
136134 infoLabel. font = BitnagilFont . init ( style: . body2, weight: . medium) . font
@@ -286,7 +284,7 @@ final class EmotionRegistrationViewController: BaseViewController<EmotionRegiste
286284
287285 let originalEmotionCount = emotions. count
288286 let centerIndex = itemSetCount / 2 + 1
289- let multipliedEmotions = ( 0 ..< 7 ) . flatMap { i in
287+ let multipliedEmotions = ( 0 ..< itemSetCount ) . flatMap { i in
290288 i == centerIndex ? emotions : emotions. map { $0. copy ( ) }
291289 }
292290
@@ -296,7 +294,6 @@ final class EmotionRegistrationViewController: BaseViewController<EmotionRegiste
296294 else { return }
297295
298296 lastMarbleCellIndex = currentIndex
299- print ( lastMarbleCellIndex)
300297
301298 var snapshot = NSDiffableDataSourceSnapshot < Int , Emotion > ( )
302299 snapshot. appendSections ( [ 0 ] )
0 commit comments