diff --git a/Examples/Nodify.Playground/Editor/NodifyEditorView.xaml.cs b/Examples/Nodify.Playground/Editor/NodifyEditorView.xaml.cs index c742f9e7..c2c36a7c 100644 --- a/Examples/Nodify.Playground/Editor/NodifyEditorView.xaml.cs +++ b/Examples/Nodify.Playground/Editor/NodifyEditorView.xaml.cs @@ -15,7 +15,7 @@ public NodifyEditorView() static NodifyEditorView() { - InputProcessor.Shared.RegisterHandlerFactory(elem => new ReconnectingConnectors(elem)); + InputProcessor.Shared.RegisterHandlerFactory(elem => new RetargetConnections(elem)); } private void Minimap_Zoom(object sender, ZoomEventArgs e) diff --git a/Examples/Nodify.Playground/Editor/ReconnectingConnectors.cs b/Examples/Nodify.Playground/Editor/RetargetConnections.cs similarity index 94% rename from Examples/Nodify.Playground/Editor/ReconnectingConnectors.cs rename to Examples/Nodify.Playground/Editor/RetargetConnections.cs index 26e6d6d6..8d16a1d8 100644 --- a/Examples/Nodify.Playground/Editor/ReconnectingConnectors.cs +++ b/Examples/Nodify.Playground/Editor/RetargetConnections.cs @@ -8,7 +8,7 @@ namespace Nodify.Playground /// /// Hold CTRL+LeftClick on a connector to start reconnecting it. /// - public class ReconnectingConnectors : DragState + public class RetargetConnections : DragState { public static InputGestureRef Reconnect { get; } = new Interactivity.MouseGesture(MouseAction.LeftClick, ModifierKeys.Control); @@ -18,7 +18,7 @@ public class ReconnectingConnectors : DragState private Vector _connectorOffset; private Connector? _targetConnector; - public ReconnectingConnectors(Connector element) : base(element, Reconnect, EditorGestures.Mappings.Connector.CancelAction) + public RetargetConnections(Connector element) : base(element, Reconnect, EditorGestures.Mappings.Connector.CancelAction) { }