Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -21,7 +21,9 @@ namespace OpenRA.Mods.Common.Traits.Render
|
||||
[Desc("Displays a text overlay relative to the selection box.")]
|
||||
public class WithTextDecorationInfo : ConditionalTraitInfo, Requires<IDecorationBoundsInfo>
|
||||
{
|
||||
[FieldLoader.Require] [Translate] public readonly string Text = null;
|
||||
[Translate]
|
||||
[FieldLoader.Require]
|
||||
public readonly string Text = null;
|
||||
|
||||
public readonly string Font = "TinyBold";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user