mirror of
https://github.com/Ellpeck/MLEM.git
synced 2024-12-25 01:39:23 +01:00
fixed the panel passing a wrong matrix to its children
This commit is contained in:
parent
b87bb01a80
commit
b85afccaf5
1 changed files with 1 additions and 1 deletions
|
@ -116,7 +116,7 @@ namespace MLEM.Ui.Elements {
|
|||
base.Draw(time, batch, alpha);
|
||||
batch.End();
|
||||
// also draw any children early within the render target with the translation applied
|
||||
base.DrawEarly(time, batch, alpha, blendState, samplerState, matrix * trans);
|
||||
base.DrawEarly(time, batch, alpha, blendState, samplerState, trans);
|
||||
batch.GraphicsDevice.SetRenderTarget(null);
|
||||
} else {
|
||||
base.DrawEarly(time, batch, alpha, blendState, samplerState, matrix);
|
||||
|
|
Loading…
Reference in a new issue