impr: Make right click menu in data processor feel less sluggish
This commit is contained in:
parent
0e58204501
commit
3ad2c74519
@ -590,7 +590,7 @@ namespace hex::plugin::builtin {
|
||||
|
||||
void ViewDataProcessor::drawContextMenus(ViewDataProcessor::Workspace &workspace) {
|
||||
// Handle the right click context menus
|
||||
if (ImGui::IsMouseReleased(ImGuiMouseButton_Right) && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows)) {
|
||||
if (ImGui::IsMouseClicked(ImGuiMouseButton_Right, true) && ImGui::IsWindowHovered(ImGuiHoveredFlags_ChildWindows)) {
|
||||
// Clear selections
|
||||
ImNodes::ClearNodeSelection();
|
||||
ImNodes::ClearLinkSelection();
|
||||
|
Loading…
x
Reference in New Issue
Block a user