mirror of
https://github.com/tappollo/makata.git
synced 2026-04-30 04:45:07 +08:00
Change margin reference
This commit is contained in:
@@ -92,9 +92,7 @@ public extension Templates {
|
||||
}
|
||||
|
||||
let collectionLayout = layout(source)
|
||||
|
||||
let configuration = collectionLayout.configuration
|
||||
configuration.contentInsetsReference = .layoutMargins
|
||||
|
||||
if header != nil {
|
||||
let headerSupplementaryItem = NSCollectionLayoutBoundarySupplementaryItem(
|
||||
|
||||
Reference in New Issue
Block a user