Used object initializers
This commit is contained in:
1 parent
477b023520
commit
b8fe334153
47 files changed
+289
-515
No files matched your search
@@ -106,10 +106,10 @@ namespace VocaluxeLib.Menu
|
||||
{
|
||||
_PrepareTiles();
|
||||
|
||||
_PlayerSelector = new CStatic(_PartyModeID);
|
||||
_PlayerSelector.Texture = _TextureTileSelected;
|
||||
_PlayerSelector.Rect = new SRectF(0, 0, _TileW + 6, _TileH + 6, Rect.Z - 0.5f);
|
||||
_PlayerSelector.Visible = false;
|
||||
_PlayerSelector = new CStatic(_PartyModeID) {
|
||||
Texture = _TextureTileSelected,
|
||||
Rect = new SRectF(0, 0, _TileW + 6, _TileH + 6, Rect.Z - 0.5f),
|
||||
Visible = false};
|
||||
|
||||
_UpdateVisibleProfiles();
|
||||
|
||||
|
||||
Reference in new issue
Block a user