File tree 4 files changed +4
-4
lines changed
4 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -502,7 +502,7 @@ namespace hex::plugin::builtin {
502
502
break ;
503
503
}
504
504
505
- if (ImGui::IsMouseReleased (ImGuiMouseButton_Right) && ImGui::IsItemHovered ()) {
505
+ if (ImGui::IsMouseDown (ImGuiMouseButton_Right) && ImGui::IsItemHovered ()) {
506
506
rightClickedProvider = tabProvider;
507
507
RequestOpenPopup::post (" ProviderMenu" );
508
508
}
Original file line number Diff line number Diff line change @@ -590,7 +590,7 @@ namespace hex::plugin::builtin {
590
590
591
591
void ViewDataProcessor::drawContextMenus (ViewDataProcessor::Workspace &workspace) {
592
592
// Handle the right click context menus
593
- if (ImGui::IsMouseClicked (ImGuiMouseButton_Right, true ) && ImGui::IsWindowHovered (ImGuiHoveredFlags_ChildWindows)) {
593
+ if (ImGui::IsMouseDown (ImGuiMouseButton_Right) && ImGui::IsWindowHovered (ImGuiHoveredFlags_ChildWindows)) {
594
594
// Clear selections
595
595
ImNodes::ClearNodeSelection ();
596
596
ImNodes::ClearLinkSelection ();
Original file line number Diff line number Diff line change @@ -531,7 +531,7 @@ namespace hex::plugin::builtin {
531
531
}
532
532
533
533
// Right click menu
534
- if (ImGui::IsMouseReleased (ImGuiMouseButton_Right) && ImGui::IsWindowHovered (ImGuiHoveredFlags_ChildWindows) && !ImGui::IsAnyItemHovered ())
534
+ if (ImGui::IsMouseDown (ImGuiMouseButton_Right) && ImGui::IsWindowHovered (ImGuiHoveredFlags_ChildWindows) && !ImGui::IsAnyItemHovered ())
535
535
RequestOpenPopup::post (" hex.builtin.menu.edit" );
536
536
}
537
537
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ namespace hex::plugin::windows {
146
146
}
147
147
ImGui::PopItemWidth ();
148
148
149
- if (ImGui::IsMouseReleased (ImGuiMouseButton_Right) && ImGui::IsItemHovered () && m_portHandle != INVALID_HANDLE_VALUE && !m_transmitting)
149
+ if (ImGui::IsMouseDown (ImGuiMouseButton_Right) && ImGui::IsItemHovered () && m_portHandle != INVALID_HANDLE_VALUE && !m_transmitting)
150
150
ImGui::OpenPopup (" ConsoleMenu" );
151
151
152
152
if (ImGui::BeginPopup (" ConsoleMenu" )) {
You can’t perform that action at this time.
0 commit comments