Use expression body syntax
This commit is contained in:
@@ -545,10 +545,7 @@ namespace OpenRA.Mods.Common.Widgets.Logic
|
||||
}
|
||||
|
||||
// HACK The height of the templates and the scrollpanel needs to be kept in synch
|
||||
bool ShowScrollBar
|
||||
{
|
||||
get { return players.Count() + (hasTeams ? teams.Count() : 0) > 10; }
|
||||
}
|
||||
bool ShowScrollBar => players.Count() + (hasTeams ? teams.Count() : 0) > 10;
|
||||
|
||||
class StatsDropDownOption
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user