fix reroute node output box moving on connection change

This commit is contained in:
Saas
2026-03-14 19:00:12 +01:00
parent 44ecac7ffc
commit f2a13b64d4
2 changed files with 7 additions and 1 deletions

View File

@@ -1179,6 +1179,12 @@ namespace FlaxEditor.Surface.Archetypes
_footerRect = Rectangle.Empty;
}
/// <inheritdoc />
public override void Resize(float width, float height)
{
// Do nothing so the input and output boxes do not change position
}
/// <inheritdoc />
public override void Draw()
{

View File

@@ -181,7 +181,7 @@ namespace FlaxEditor.Surface
/// </summary>
/// <param name="width">The width.</param>
/// <param name="height">The height.</param>
public void Resize(float width, float height)
public virtual void Resize(float width, float height)
{
if (Surface == null)
return;