calls super function of draw for scrolling text
This commit is contained in:
parent
c1be4043d2
commit
75387661d2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user