Unstable 0.16.0.0
This commit is contained in:
@@ -29,6 +29,12 @@ namespace Barotrauma
|
||||
ClampChildMouseRects(Content);
|
||||
}
|
||||
|
||||
public override void DrawChildren(SpriteBatch spriteBatch, bool recursive)
|
||||
{
|
||||
//do nothing (the children have to be drawn in the Draw method after the ScissorRectangle has been set)
|
||||
return;
|
||||
}
|
||||
|
||||
protected override void Draw(SpriteBatch spriteBatch)
|
||||
{
|
||||
if (!Visible) { return; }
|
||||
|
||||
Reference in New Issue
Block a user