- Fixed regression of commit ec7840f36b that caused surface comments created with "// <text>" to throw an error
This commit is contained in:
@@ -1502,9 +1502,10 @@ namespace FlaxEditor.Surface.Archetypes
|
|||||||
{
|
{
|
||||||
data = new object[]
|
data = new object[]
|
||||||
{
|
{
|
||||||
filterText.Substring(2),
|
filterText.Substring(2), // Title
|
||||||
new Color(1.0f, 1.0f, 1.0f, 0.2f),
|
new Color(1.0f, 1.0f, 1.0f, 0.2f), // Color
|
||||||
new Float2(400.0f, 400.0f),
|
new Float2(400.0f, 400.0f), // Size
|
||||||
|
-1, // Order
|
||||||
};
|
};
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user