fix not being able to move comments nodes

This commit is contained in:
Saas
2026-03-08 14:53:48 +01:00
parent 2805c0dd7b
commit 1105e58b06
+4
View File
@@ -81,12 +81,16 @@ namespace FlaxEditor.Surface
if (Values.Length < 4)
{
if (IndexInParent > 0)
{
IndexInParent = 0;
ResizeBorderControl.IndexInParent = - 1;
}
OrderValue = IndexInParent;
}
else if (OrderValue != -1)
{
IndexInParent = OrderValue;
ResizeBorderControl.IndexInParent = OrderValue - 1;
}
}