diff --git a/Source/Editor/Surface/Archetypes/Comparisons.cs b/Source/Editor/Surface/Archetypes/Comparisons.cs index da81ba21d..32baadc1c 100644 --- a/Source/Editor/Surface/Archetypes/Comparisons.cs +++ b/Source/Editor/Surface/Archetypes/Comparisons.cs @@ -39,7 +39,7 @@ namespace FlaxEditor.Surface.Archetypes { NodeElementArchetype.Factory.Input(0, string.Empty, true, null, 0, 0), NodeElementArchetype.Factory.Input(1, string.Empty, true, null, 1, 1), - NodeElementArchetype.Factory.Output(0, "Result", typeof(bool), 2) + NodeElementArchetype.Factory.Output(0, title, typeof(bool), 2) } }; } diff --git a/Source/Editor/Surface/Archetypes/Material.cs b/Source/Editor/Surface/Archetypes/Material.cs index 2a9a3ca0d..241f857b5 100644 --- a/Source/Editor/Surface/Archetypes/Material.cs +++ b/Source/Editor/Surface/Archetypes/Material.cs @@ -312,7 +312,6 @@ namespace FlaxEditor.Surface.Archetypes : base(id, context, nodeArch, groupArch) { _sizeValueIndex = Archetype.TypeID == 8 ? 1 : 3; // Index of the Size stored in Values array - //Float2 pos = new Float2(FlaxEditor.Surface.Constants.NodeMarginX, FlaxEditor.Surface.Constants.NodeMarginY + FlaxEditor.Surface.Constants.NodeHeaderHeight), size; Float2 pos = new Float2(FlaxEditor.Surface.Constants.NodeMarginX + 25f, FlaxEditor.Surface.Constants.NodeMarginY + FlaxEditor.Surface.Constants.NodeHeaderHeight), size; if (nodeArch.TypeID == 8) { diff --git a/Source/Editor/Surface/Constants.cs b/Source/Editor/Surface/Constants.cs index 7ca322116..2945a85e9 100644 --- a/Source/Editor/Surface/Constants.cs +++ b/Source/Editor/Surface/Constants.cs @@ -78,6 +78,6 @@ namespace FlaxEditor.Surface /// /// The scale of text of boxes. /// - public const float BoxTextScale = 1f;//1.175f; + public const float BoxTextScale = 1f; } } diff --git a/Source/Editor/Surface/SurfaceNode.cs b/Source/Editor/Surface/SurfaceNode.cs index 1c0728d13..deca508b1 100644 --- a/Source/Editor/Surface/SurfaceNode.cs +++ b/Source/Editor/Surface/SurfaceNode.cs @@ -341,7 +341,6 @@ namespace FlaxEditor.Surface if (element is Control control) AddChild(control); - // TODO: Perform this at a better time instead of every time an element gets added. if (!Archetype.UseFixedSize) ResizeAuto(); } diff --git a/Source/Editor/Surface/VisjectSurface.Draw.cs b/Source/Editor/Surface/VisjectSurface.Draw.cs index 0b7f6eaae..0665a8ebb 100644 --- a/Source/Editor/Surface/VisjectSurface.Draw.cs +++ b/Source/Editor/Surface/VisjectSurface.Draw.cs @@ -69,7 +69,6 @@ namespace FlaxEditor.Surface DrawGridBackground(Width, Height); } - // TODO: Rename (and get rid of old texture based draw background?) internal static void DrawBackgroundSolidColor(Color color, float width, float height) { Rectangle backgroundRect = new Rectangle(0f, 0f, width, height);