diff --git a/ScenariumEditor.NET/ScenariumEditor.NET/MainWindow.xaml.cs b/ScenariumEditor.NET/ScenariumEditor.NET/MainWindow.xaml.cs index 11aa607..5b9bcbb 100644 --- a/ScenariumEditor.NET/ScenariumEditor.NET/MainWindow.xaml.cs +++ b/ScenariumEditor.NET/ScenariumEditor.NET/MainWindow.xaml.cs @@ -106,6 +106,7 @@ private void GraphCanvasBg_OnButtonDown(object sender, MouseButtonEventArgs e) { if (_nearestPin != null) { _viewModel.Connections.Add(new Connection(_activePin, _nearestPin)); CancelNewConnection(); + _canvasState = CanvasState.Idle; } return;