Skip to content

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
Co-authored-by: Kevin Boos <[email protected]>
  • Loading branch information
alanpoon and kevinaboos authored Jan 1, 2025
1 parent d56d237 commit 50a5cce
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/home/room_screen.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2333,7 +2333,10 @@ struct TimelineUiState {
/// at which point we submit a backwards pagination request to fetch more events.
last_scrolled_index: usize,

/// The previous first index of the portallist before timeline receives new item, scroll changes or timeline view jumps
/// The index of the first item shown in the timeline's PortalList from *before* the last "jump".
///
/// This index is saved before the timeline undergoes any jumps, e.g.,
/// receiving new items, major scroll changes, or other timeline view jumps.
prev_first_index: Option<usize>,

/// Boolean to indicate if the user scrolled pass the read marker
Expand Down

0 comments on commit 50a5cce

Please sign in to comment.