mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-11-26 06:28:35 +01:00
redid that bugfix that I undid with that other bugfix
This commit is contained in:
parent
7e887031de
commit
b53588c32e
1 changed files with 1 additions and 1 deletions
|
@ -144,8 +144,8 @@ namespace MLEM.Ui.Elements {
|
|||
}
|
||||
|
||||
public override void DrawEarly(GameTime time, SpriteBatch batch, float alpha, BlendState blendState, SamplerState samplerState, Matrix matrix) {
|
||||
this.UpdateAreaIfDirty();
|
||||
if (this.scrollOverflow && this.renderTarget != null) {
|
||||
this.UpdateAreaIfDirty();
|
||||
// draw children onto the render target
|
||||
batch.GraphicsDevice.SetRenderTarget(this.renderTarget);
|
||||
batch.GraphicsDevice.Clear(Color.Transparent);
|
||||
|
|
Loading…
Reference in a new issue