fix cursor padding for mouse click

This commit is contained in:
alice pellerin
2026-04-29 23:51:11 -05:00
parent 0284279cd5
commit e60e63cb16
3 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -19,7 +19,7 @@ currently, hexapoda is very unpolished, and missing some major features. if you'
- split selection(s) into #-byte chunks
- undo/redo
- inspect the current selection(s)
- signed, unsigned, fixed-point, UTF-8, color
- signed, unsigned, binary, fixed-point, UTF-8, color
- mark notable offsets
- jump to selected offset
+1
View File
@@ -224,6 +224,7 @@ impl App {
byte_column
);
current_buffer.cursors.clear();
current_buffer.clamp_screen_to_primary_cursor(self.window_size);
}
},
MouseEventKind::ScrollDown => {
+1 -1
View File
@@ -33,7 +33,7 @@ const LINES_OF_PADDING: usize = 5;
const BYTES_OF_PADDING: usize = LINES_OF_PADDING * BYTES_PER_LINE;
// TODO:
// - update showcase
// - click and drag selection
// - `go` goto entered offset
// - search
// - `/` hex, `A-/` ascii