Skip to content

Commit

Permalink
Fix issue where scrolling would be cut off.
Browse files Browse the repository at this point in the history
  • Loading branch information
WINSDK committed Apr 20, 2024
1 parent bc16bd7 commit 9701733
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gui/src/panes/listing.rs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ impl Listing {
}

if idx == 0 {
return callback(Ok((all_blocks, None)));
break;
}

idx -= 1;
Expand Down Expand Up @@ -103,7 +103,7 @@ impl Listing {
let mut lines_parsed = 0;
loop {
if idx >= boundaries.len() {
return callback(Ok((all_blocks, None)));
break;
}

let addr = boundaries[idx];
Expand Down

0 comments on commit 9701733

Please sign in to comment.