mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2025-10-05 10:49:34 +02:00
GP-2148 changed Byteviewer to center cursor on screen when jumping to
offscreen location to be consistent with listing
This commit is contained in:
parent
3d7089d391
commit
49d9afdbfb
1 changed files with 1 additions and 1 deletions
|
@ -537,7 +537,7 @@ public class ByteViewerComponent extends FieldPanel implements FieldMouseListene
|
|||
int row = location.getRow();
|
||||
setCursorPosition(fieldIndex, fieldNum, row, column, EventTrigger.INTERNAL_ONLY);
|
||||
if (panel.getCurrentComponent() == this) {
|
||||
scrollToCursor();
|
||||
goTo(fieldIndex, fieldNum, row, column, false, EventTrigger.INTERNAL_ONLY);
|
||||
}
|
||||
|
||||
return fieldIndex.intValue();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue