Transcript Incremental Projection
Nucleic-Session: 0FFD007B-0696-4517-9429-129C7B0FD5AC Co-authored-by: Nucleic <[email protected]>
This commit is contained in:
@@ -306,9 +306,11 @@ struct SessionDetailView: View {
|
||||
.overlay(alignment: .top) {
|
||||
if true { // TEMP: force visible for screenshot verification
|
||||
JumpToBottomButton { scrollToBottomRequest += 1 }
|
||||
// Hang the button *above* the bar: report its bottom edge (plus a gap) as its
|
||||
// top guide, so the overlay's top alignment places it outside the bar's bounds.
|
||||
.alignmentGuide(.top) { $0[.bottom] + 8 }
|
||||
// Hang the button fully *above* the bar: top-aligned, then shifted up by its
|
||||
// own 30pt height plus an 8pt gap. A render-time offset (not an alignment
|
||||
// guide, which misplaced it half-overlapping the bar's top edge) so the
|
||||
// placement is exact and — critically — contributes nothing to the inset.
|
||||
.offset(y: -38)
|
||||
.transition(.move(edge: .bottom).combined(with: .opacity))
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user