From 28a8adb26db436b9fec3a03c88f236fbb3519da0 Mon Sep 17 00:00:00 2001 From: WerWolv Date: Sat, 28 May 2022 13:38:36 +0200 Subject: [PATCH] fix: Hex editor selection scrolling not working correctly --- plugins/builtin/source/content/views/view_hex_editor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/builtin/source/content/views/view_hex_editor.cpp b/plugins/builtin/source/content/views/view_hex_editor.cpp index ba507d50d..eafd77d74 100644 --- a/plugins/builtin/source/content/views/view_hex_editor.cpp +++ b/plugins/builtin/source/content/views/view_hex_editor.cpp @@ -845,7 +845,7 @@ namespace hex::plugin::builtin { } // If the cursor is off-screen, directly jump to the byte - { + if (!ImGui::IsMouseDown(ImGuiMouseButton_Left)) { const auto newSelection = this->getSelection(); if (newSelection.getStartAddress() < u64(clipper.DisplayStart * this->m_bytesPerRow)) this->jumpToSelection();