ui: Improved hovering detection for drawing hex editor tooltips
This commit is contained in:
parent
6f3a5e896c
commit
ce193a0098
@ -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);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user