This commit is contained in:
xxSeys1
2025-06-13 22:25:02 +02:00
parent f40c67ddf0
commit b44d4107c0
6 changed files with 21 additions and 20 deletions

View File

@@ -268,7 +268,7 @@ namespace FlaxEditor.Surface
if (_leftMouseDown)
{
// Connecting
if (_connectionInstigator.Count > 0)
if (_connectionInstigators.Count > 0)
{
}
// Moving
@@ -438,7 +438,7 @@ namespace FlaxEditor.Surface
public override bool OnMouseDown(Float2 location, MouseButton button)
{
// Check if user is connecting boxes
if (_connectionInstigator.Count > 0)
if (_connectionInstigators.Count > 0)
return true;
// Base
@@ -560,7 +560,7 @@ namespace FlaxEditor.Surface
_movingNodesDelta = Float2.Zero;
}
// Connecting
else if (_connectionInstigator.Count > 0)
else if (_connectionInstigators.Count > 0)
{
}
// Selecting
@@ -632,7 +632,7 @@ namespace FlaxEditor.Surface
ShowPrimaryMenu(_cmStartPos);
}
// Letting go of a connection or right clicking while creating a connection
else if (!_isMovingSelection && _connectionInstigator.Count > 0 && !IsPrimaryMenuOpened)
else if (!_isMovingSelection && _connectionInstigators.Count > 0 && !IsPrimaryMenuOpened)
{
_cmStartPos = location;
Cursor = CursorType.Default;