mirror of
https://github.com/NationalSecurityAgency/ghidra.git
synced 2026-01-10 06:27:59 -05:00
Merge remote-tracking branch 'origin/GP-2148_ghidragon_change_byteviewer_to_center_when_goto_is_offscreen'
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user