1
0
mirror of synced 2025-02-17 18:59:21 +01:00

ui: Improved hovering detection for drawing hex editor tooltips

This commit is contained in:
WerWolv 2022-07-29 18:02:44 +02:00
parent 6f3a5e896c
commit ce193a0098

View File

@ -763,7 +763,7 @@ namespace hex::plugin::builtin {
this->drawSelectionFrame(x, y, byteAddress, bytesPerCell, cellStartPos, cellSize);
}
const bool cellHovered = ImGui::IsMouseHoveringRect(cellStartPos, cellStartPos + cellSize, true);
const bool cellHovered = ImGui::IsMouseHoveringRect(cellStartPos, cellStartPos + cellSize, false);
this->handleSelection(byteAddress, bytesPerCell, &bytes[x * bytesPerCell], cellHovered);