diff --git a/src/app/components/HexEditor.tsx b/src/app/components/HexEditor.tsx index 7860abf..c082fef 100644 --- a/src/app/components/HexEditor.tsx +++ b/src/app/components/HexEditor.tsx @@ -1,7 +1,7 @@ import { useCallback, useEffect, useReducer, useRef, useState } from 'react'; import { Eye, Pencil, Redo2, Save, Search, Undo2, X } from 'lucide-react'; -const BYTES_PER_ROW = 16; +const BYTES_PER_ROW = 8; const ROW_HEIGHT = 20; // px — matches leading-5 at Tailwind's 16px base const CHUNK_ROWS = 256; // virtual-scroll overscan: render prev+curr+next windows @@ -311,7 +311,7 @@ export default function HexEditor({ data, readOnly = false, onSave }: HexEditorP
{/* Address */} - + {base.toString(16).padStart(8, '0').toUpperCase()}