Skip to content

Commit

Permalink
Fix adding wrong nodes when dragging in timed event graph #14
Browse files Browse the repository at this point in the history
  • Loading branch information
Lecrapouille committed May 14, 2024
1 parent 0aff3aa commit 9adbe79
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/Editor/DearImGui/Editor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1500,7 +1500,10 @@ void Editor::PetriView::onHandleInput()

if (button == MOUSE_BOUTON_HANDLE_ARC)
{
handleArcDestination();
if (!ImGui::GetIO().KeyCtrl)
{
handleArcDestination();
}
}
}

Expand Down

0 comments on commit 9adbe79

Please sign in to comment.