Fix and enable SA1133, SA1134 style rules.
This commit is contained in:
@@ -25,7 +25,8 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
public bool DisableKeyRepeat = false;
|
||||
public bool DisableKeySound = false;
|
||||
|
||||
[Translate] public string Text = "";
|
||||
[Translate]
|
||||
public string Text = "";
|
||||
public TextAlign Align = TextAlign.Center;
|
||||
public int LeftMargin = 5;
|
||||
public int RightMargin = 5;
|
||||
@@ -55,9 +56,13 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
public Action<MouseInput> OnMouseUp = _ => { };
|
||||
|
||||
protected Lazy<TooltipContainerWidget> tooltipContainer;
|
||||
[Translate] public string TooltipText;
|
||||
|
||||
[Translate]
|
||||
public string TooltipText;
|
||||
public Func<string> GetTooltipText;
|
||||
[Translate] public string TooltipDesc;
|
||||
|
||||
[Translate]
|
||||
public string TooltipDesc;
|
||||
public Func<string> GetTooltipDesc;
|
||||
|
||||
// Equivalent to OnMouseUp, but without an input arg
|
||||
|
||||
Reference in New Issue
Block a user