mirror of
https://github.com/AlexMacocian/MonoGame.Extended.git
synced 2026-07-16 15:39:29 +00:00
Remove usage of Color.TransparentBlack which has been replaced by Color.Transparent
This commit is contained in:
@@ -29,7 +29,7 @@ namespace MonoGame.Extended.Tiled.Serialization
|
||||
[XmlIgnore]
|
||||
public Color TransparentColor
|
||||
{
|
||||
get => RawTransparentColor == string.Empty ? Color.TransparentBlack : ColorHelper.FromHex(RawTransparentColor);
|
||||
get => RawTransparentColor == string.Empty ? Color.Transparent : ColorHelper.FromHex(RawTransparentColor);
|
||||
set => RawTransparentColor = ColorHelper.ToHex(value);
|
||||
}
|
||||
|
||||
@@ -41,4 +41,4 @@ namespace MonoGame.Extended.Tiled.Serialization
|
||||
return Source;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user