mirror of
https://github.com/encounter/objdiff.git
synced 2025-06-07 07:03:39 +00:00
Fix scroll hotkeys not working in data diff view (#208)
This commit is contained in:
parent
a367af612b
commit
d0afd3b83e
@ -499,6 +499,7 @@ pub fn diff_view_ui(
|
|||||||
(state.current_view, left_ctx.obj, right_ctx.obj, left_ctx.section, right_ctx.section)
|
(state.current_view, left_ctx.obj, right_ctx.obj, left_ctx.section, right_ctx.section)
|
||||||
{
|
{
|
||||||
// Joint diff view
|
// Joint diff view
|
||||||
|
hotkeys::check_scroll_hotkeys(ui, true);
|
||||||
let left_total_bytes =
|
let left_total_bytes =
|
||||||
left_section_diff.data_diff.iter().fold(0usize, |accum, item| accum + item.len);
|
left_section_diff.data_diff.iter().fold(0usize, |accum, item| accum + item.len);
|
||||||
let right_total_bytes =
|
let right_total_bytes =
|
||||||
|
Loading…
x
Reference in New Issue
Block a user