TextureChangingEventArgs - Change 'NewTexture' property to getter only

This commit is contained in:
miku-666
2024-03-13 17:39:36 +01:00
parent bacf0b2b17
commit 46ab381ae1

View File

@@ -22,7 +22,7 @@ namespace PckStudio.Rendering
{
public class TextureChangingEventArgs : CancelEventArgs
{
public Image NewTexture { get; set; }
public Image NewTexture { get; }
public TextureChangingEventArgs(Image newTexture) : base()
{