From 816f50a452dd0bb2fbdad72ed19f14dfac9540eb Mon Sep 17 00:00:00 2001 From: Salem Yaslem Date: Mon, 4 Nov 2024 09:20:56 +0300 Subject: [PATCH] add binary view --- components/binary-viewer.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/binary-viewer.vue b/components/binary-viewer.vue index f84170d..6a43578 100644 --- a/components/binary-viewer.vue +++ b/components/binary-viewer.vue @@ -19,7 +19,7 @@ const scrollTop = ref(0) // Calculate total rows and visible window const totalRows = computed(() => buffer.value ? Math.ceil(buffer.value.length / 16) : 0) const startRow = computed(() => Math.floor(scrollTop.value / rowHeight)) -const endRow = computed(() => Math.min(startRow.value + visibleRows.value + 5, totalRows.value)) +const endRow = computed(() => Math.min(startRow.value + visibleRows.value + 50, totalRows.value)) // Get only the visible rows data const visibleData = computed(() => {