Skip to content

Commit

Permalink
enable horizontal scroll actions.
Browse files Browse the repository at this point in the history
  • Loading branch information
gabreho committed Aug 5, 2021
1 parent 5798ee5 commit 89127b7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ListableUI/Sources/ScrollPosition.swift
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@ extension ScrollPosition

var UICollectionViewScrollPosition : UICollectionView.ScrollPosition {
switch self {
case .top: return .top
case .centered: return .centeredVertically
case .bottom: return .bottom
case .top: return [.top, .left]
case .centered: return [.centeredHorizontally, .centeredVertically]
case .bottom: return [.bottom, .right]
}
}
}
Expand Down

0 comments on commit 89127b7

Please sign in to comment.