fix: clone Enabled and Opacity, too
This commit is contained in:
parent
d3a1693726
commit
553e29885f
|
@ -80,6 +80,7 @@ namespace HUD_Manager.Structs {
|
||||||
|
|
||||||
public Element Clone() {
|
public Element Clone() {
|
||||||
return new() {
|
return new() {
|
||||||
|
Enabled = this.Enabled,
|
||||||
Id = this.Id,
|
Id = this.Id,
|
||||||
X = this.X,
|
X = this.X,
|
||||||
Y = this.Y,
|
Y = this.Y,
|
||||||
|
@ -90,6 +91,7 @@ namespace HUD_Manager.Structs {
|
||||||
MeasuredFrom = this.MeasuredFrom,
|
MeasuredFrom = this.MeasuredFrom,
|
||||||
Visibility = this.Visibility,
|
Visibility = this.Visibility,
|
||||||
Unknown6 = this.Unknown6,
|
Unknown6 = this.Unknown6,
|
||||||
|
Opacity = this.Opacity,
|
||||||
Unknown8 = (byte[]) this.Unknown8.Clone(),
|
Unknown8 = (byte[]) this.Unknown8.Clone(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue