1
0
Fork 0
mirror of https://github.com/Ellpeck/MLEM.git synced 2024-11-26 06:28:35 +01:00

this actually does not work

This commit is contained in:
Ellpeck 2019-09-04 17:23:23 +02:00
parent 619db6bb94
commit fef1d7959d

View file

@ -307,11 +307,7 @@ namespace MLEM.Ui.Elements {
}
}
var newArea = new Rectangle(pos, actualSize);
if (newArea == this.area)
return;
this.area = newArea;
this.area = new Rectangle(pos, actualSize);
this.OnAreaUpdated?.Invoke(this);
foreach (var child in this.Children)