impr: Don't scroll hex editor view when jumping to a region that's on-screen already

Fixes #1743
This commit is contained in:
WerWolv
2024-06-07 19:29:55 +02:00
parent ff20f81cfd
commit 6fd3fa77ed
3 changed files with 6 additions and 15 deletions

View File

@@ -196,6 +196,7 @@ namespace hex::ui {
}
void jumpIfOffScreen() {
m_shouldScrollToSelection = true;
m_shouldJumpWhenOffScreen = true;
}