mirror of
https://github.com/WerWolv/ImHex.git
synced 2026-03-28 15:57:03 -05:00
Clear node and link selection in data processor when right clicking
This commit is contained in:
@@ -114,6 +114,9 @@ namespace hex {
|
||||
if (ImGui::Begin("Data Processor", &this->getWindowOpenState(), ImGuiWindowFlags_NoCollapse)) {
|
||||
|
||||
if (ImGui::IsMouseReleased(ImGuiMouseButton_Right) && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows)) {
|
||||
imnodes::ClearNodeSelection();
|
||||
imnodes::ClearLinkSelection();
|
||||
|
||||
this->m_rightClickedCoords = ImGui::GetMousePos();
|
||||
|
||||
if (imnodes::IsNodeHovered(&this->m_rightClickedId))
|
||||
|
||||
Reference in New Issue
Block a user