From 75387661d26932fdce9a6639f75fde5e31e35198 Mon Sep 17 00:00:00 2001 From: Recrown Date: Fri, 7 Sep 2018 11:24:15 -0500 Subject: [PATCH] calls super function of draw for scrolling text --- .../rhythmbullet/graphics/ui/components/ScrollingText.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/zero1hd/rhythmbullet/graphics/ui/components/ScrollingText.java b/core/src/zero1hd/rhythmbullet/graphics/ui/components/ScrollingText.java index 4810556..fa116ed 100755 --- a/core/src/zero1hd/rhythmbullet/graphics/ui/components/ScrollingText.java +++ b/core/src/zero1hd/rhythmbullet/graphics/ui/components/ScrollingText.java @@ -153,8 +153,6 @@ public class ScrollingText extends Widget { @Override public void draw(Batch batch, float parentAlpha) { - validate(); - if (background != null) { background.draw(batch, getX(), getY(), getWidth(), getHeight()); } @@ -172,6 +170,8 @@ public class ScrollingText extends Widget { batch.flush(); ScissorStack.popScissors(); } + + super.draw(batch, parentAlpha); } @Override