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 91a6dd8 commit 263e0d0
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 @@ -1493,7 +1493,10 @@ void Editor::PetriView::onHandleInput()

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

Expand Down

0 comments on commit 263e0d0

Please sign in to comment.