mirror of https://github.com/WerWolv/ImHex.git
fix: Hex editor selection scrolling not working correctly
This commit is contained in:
parent
e2bfd26bb3
commit
28a8adb26d
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue