From 1105e58b066819fac0feb8d3bda321d08144a3c5 Mon Sep 17 00:00:00 2001 From: Saas Date: Sun, 8 Mar 2026 14:53:48 +0100 Subject: [PATCH] fix not being able to move comments nodes --- Source/Editor/Surface/SurfaceComment.cs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Source/Editor/Surface/SurfaceComment.cs b/Source/Editor/Surface/SurfaceComment.cs index 3a8416fd3..c257dddd1 100644 --- a/Source/Editor/Surface/SurfaceComment.cs +++ b/Source/Editor/Surface/SurfaceComment.cs @@ -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; } }