Bläddra i källkod

Dock don't draw background ;(

Jean-David Moisan 3 år sedan
förälder
incheckning
028f764ce6
1 ändrade filer med 0 tillägg och 6 borttagningar
  1. 0 6
      Source/Dock.cs

+ 0 - 6
Source/Dock.cs

@@ -1,7 +1,6 @@
 using System.Runtime.CompilerServices;
 using System.Runtime.CompilerServices;
 using Apos.Input;
 using Apos.Input;
 using Microsoft.Xna.Framework;
 using Microsoft.Xna.Framework;
-using MonoGame.Extended;
 
 
 namespace Apos.Gui {
 namespace Apos.Gui {
     public class Dock : Component, IParent {
     public class Dock : Component, IParent {
@@ -47,11 +46,6 @@ namespace Apos.Gui {
             }
             }
         }
         }
         public override void Draw(GameTime gameTime) {
         public override void Draw(GameTime gameTime) {
-            GuiHelper.PushScissor(Clip);
-            GuiHelper.SpriteBatch.FillRectangle(Bounds, Color.Red * 0.2f);
-            GuiHelper.SpriteBatch.DrawRectangle(Bounds, Color.Blue, 2f);
-            GuiHelper.PopScissor();
-
             if (Child != null) {
             if (Child != null) {
                 Child.Draw(gameTime);
                 Child.Draw(gameTime);
             }
             }