[Fix] Config & auto-property
This commit is contained in:
@@ -90,8 +90,7 @@ namespace Minesweeper.Presentation.Views
|
||||
if (backgroundImage != null)
|
||||
{
|
||||
backgroundImage.pixelsPerUnitMultiplier = pixelsPerUnitMultiplier;
|
||||
backgroundImage.sprite = cell.IsOpened ? config.OpenedCellSprite : config.ClosedCellSprite;
|
||||
backgroundImage.color = Color.white;
|
||||
backgroundImage.color = cell.IsOpened ? config.OpenedCellColor : config.ClosedCellColor;
|
||||
}
|
||||
|
||||
if (contentImage != null)
|
||||
|
||||
Reference in New Issue
Block a user