Fix scroll hotkeys not working in data diff view (#208)

This commit is contained in:
LagoLunatic 2025-05-27 11:27:00 -04:00 committed by GitHub
parent a367af612b
commit d0afd3b83e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -499,6 +499,7 @@ pub fn diff_view_ui(
(state.current_view, left_ctx.obj, right_ctx.obj, left_ctx.section, right_ctx.section)
{
// Joint diff view
hotkeys::check_scroll_hotkeys(ui, true);
let left_total_bytes =
left_section_diff.data_diff.iter().fold(0usize, |accum, item| accum + item.len);
let right_total_bytes =