mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-26 10:19:22 +01:00
mark panel's relevant children dirty when the render target changes
This commit is contained in:
parent
543201d178
commit
778d416774
1 changed files with 1 additions and 0 deletions
|
@ -235,6 +235,7 @@ namespace MLEM.Ui.Elements {
|
|||
if (this.renderTarget != null)
|
||||
this.renderTarget.Dispose();
|
||||
this.renderTarget = targetArea.IsEmpty ? null : new RenderTarget2D(this.System.Game.GraphicsDevice, targetArea.Width, targetArea.Height);
|
||||
this.relevantChildrenDirty = true;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue