fix reroute node output box moving on connection change
This commit is contained in:
@@ -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()
|
||||
{
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user