1
0
mirror of synced 2025-02-20 20:21:33 +01:00

fix: Hopefully fix the hex editor position jumping around after search

This commit is contained in:
WerWolv 2022-12-18 13:27:28 +01:00
parent f9a7cdf4dd
commit ad85a4a0e3

View File

@ -777,7 +777,7 @@ namespace hex::plugin::builtin::ui {
this->setSelection(selectionStart.value_or(address), endAddress);
this->scrollToSelection();
}
else if (ImGui::IsMouseDown(ImGuiMouseButton_Left)) {
else if (ImGui::IsMouseClicked(ImGuiMouseButton_Left)) {
if (ImGui::GetIO().KeyShift)
this->setSelection(selectionStart.value_or(address), endAddress);
else