OSDN Git Service

[whoops #2] also killed Table for a minute there :p
authorbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Mon, 9 Jan 2012 22:25:34 +0000 (22:25 +0000)
committerbadlogicgames <badlogicgames@6c4fd544-2939-11df-bb46-9574ba5d0bfa>
Mon, 9 Jan 2012 22:25:34 +0000 (22:25 +0000)
gdx/src/com/badlogic/gdx/scenes/scene2d/ui/tablelayout/Table.java

index 70fe508..48810a4 100644 (file)
@@ -104,8 +104,8 @@ public class Table extends WidgetGroup {
         * patch. */\r
        protected void drawBackground (SpriteBatch batch, float parentAlpha) {\r
                if (backgroundPatch != null) {\r
-                       //batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);\r
-                       //backgroundPatch.draw(batch, x, y, width, height);\r
+                       batch.setColor(color.r, color.g, color.b, color.a * parentAlpha);\r
+                       backgroundPatch.draw(batch, x, y, width, height);\r
                }\r
        }\r
 \r