Compact lambda expressions in some (not all) places
This commit is contained in:
@@ -60,7 +60,7 @@ namespace OpenRA.Widgets
|
||||
{
|
||||
this.modRules = modRules;
|
||||
|
||||
GetText = () => { return Text; };
|
||||
GetText = () => Text;
|
||||
GetColor = () => TextColor;
|
||||
GetColorDisabled = () => TextColorDisabled;
|
||||
GetContrastColor = () => ContrastColor;
|
||||
|
||||
Reference in New Issue
Block a user