Merge thread scroll fix by kernel

kernelkind (5):
      TMP: use new egui-nav to fix scroll offset issues
      add `scroll_offset` to `NoteAction::Note`
      add `ThreadNote::set_scroll_offset`
      set scroll offset when routing to thread
      appease clippy
This commit is contained in:
William Casarin
2025-08-04 15:08:09 -07:00
7 changed files with 49 additions and 12 deletions

View File

@@ -24,7 +24,11 @@ pub enum NoteAction {
Profile(Pubkey),
/// User has clicked a note link
Note { note_id: NoteId, preview: bool },
Note {
note_id: NoteId,
preview: bool,
scroll_offset: f32,
},
/// User has selected some context option
Context(ContextSelection),
@@ -44,6 +48,7 @@ impl NoteAction {
NoteAction::Note {
note_id: id,
preview: false,
scroll_offset: 0.0,
}
}
}