Compact lambda expressions in some (not all) places

This commit is contained in:
ScottNZ
2014-06-14 01:57:46 +12:00
parent 375fc1c5f1
commit 6b85660d7d
8 changed files with 16 additions and 34 deletions

View File

@@ -60,7 +60,7 @@ namespace OpenRA.Widgets
{
this.modRules = modRules;
GetText = () => { return Text; };
GetText = () => Text;
GetColor = () => TextColor;
GetColorDisabled = () => TextColorDisabled;
GetContrastColor = () => ContrastColor;