From 5ef111ab4e7fd6c8b0fa5849d72b638233f1e401 Mon Sep 17 00:00:00 2001 From: Bryan Keller Date: Thu, 9 Jul 2026 19:46:59 -0700 Subject: [PATCH] Fix invalidation regression --- .../Public/MagazineLayoutInvalidationContext.swift | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/MagazineLayout/Public/MagazineLayoutInvalidationContext.swift b/MagazineLayout/Public/MagazineLayoutInvalidationContext.swift index 36ddc55..9b96b6e 100644 --- a/MagazineLayout/Public/MagazineLayoutInvalidationContext.swift +++ b/MagazineLayout/Public/MagazineLayoutInvalidationContext.swift @@ -22,10 +22,6 @@ public final class MagazineLayoutInvalidationContext: UICollectionViewLayoutInva /// Indicates whether to recompute the positions and sizes of elements based on the current collection view and delegate layout /// metrics. - /// - /// Set to `true` when delegate-provided layout values (e.g. item size - /// modes, header/footer visibility, section metrics) have changed and the layout needs to - /// re-query the delegate. - public var invalidateLayoutMetrics = !MagazineLayout._enableExperimentalOptimizations + public var invalidateLayoutMetrics = true }