From 3a3c66b916b8a24d92917d5e32452d419e0e1283 Mon Sep 17 00:00:00 2001 From: Vizepi Date: Wed, 10 Feb 2021 20:32:32 +0100 Subject: [PATCH] [EDITOR] Fixed layer matrix order ( issue #153 ) --- Source/Editor/CustomEditors/Dedicated/LayersMatrixEditor.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Source/Editor/CustomEditors/Dedicated/LayersMatrixEditor.cs b/Source/Editor/CustomEditors/Dedicated/LayersMatrixEditor.cs index 44a273ee4..6c825f46d 100644 --- a/Source/Editor/CustomEditors/Dedicated/LayersMatrixEditor.cs +++ b/Source/Editor/CustomEditors/Dedicated/LayersMatrixEditor.cs @@ -76,7 +76,7 @@ namespace FlaxEditor.CustomEditors.Dedicated upperRightCell.AddChild(new Label { Height = labelsHeight, - Text = layerNames[layerIndex], + Text = layerNames[layerNames.Length - layerIndex - 1], HorizontalAlignment = TextAlignment.Near, }); bottomLeftCell.AddChild(new Label