Skip to content

Commit 493be9e

Browse files
committed
docs(ios): state the fold's clipped-carrier hittability as false, not nil
1 parent c31cc49 commit 493be9e

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

‎apple/snapshot-presentation/Sources/AgentDeviceSnapshotPresentation/SnapshotVisibilityFold.swift‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,10 +242,10 @@ public enum SnapshotVisibilityFold {
242242
}
243243

244244
/// The fold's share of the `hittable` policy (#2891). A declared `false` is kept; anything the
245-
/// source left undecided is re-decided on the clipped frame, which refuses a disabled or
246-
/// degenerate node with no viewport to consult and answers `nil` only while containment is the
247-
/// open question. A `visibilityExempt` carrier clipped to nothing by a scroll anchor is that
248-
/// `nil` today, and its own frame already answers the question.
245+
/// source left undecided is re-decided on the clipped frame: a disabled or degenerate frame —
246+
/// including a `visibilityExempt` carrier a scroll anchor clipped to nothing — answers `false`,
247+
/// and `nil` stays reserved for the one question the clipped frame cannot answer, containment
248+
/// while the capture has no viewport box.
249249
private static func clippedHittability(
250250
source: Bool?,
251251
enabled: Bool,

0 commit comments

Comments
 (0)