fixed portrait reward scene

fixed TextraButton.getText with Override
This commit is contained in:
Grimm
2022-09-20 17:25:49 +02:00
parent 15f4a8573c
commit 7bf3b2a9ef
2 changed files with 6 additions and 1 deletions

View File

@@ -55,6 +55,11 @@ public class Controls {
this.getTextraLabel().setFont( Controls.getTextraFont()); this.getTextraLabel().setFont( Controls.getTextraFont());
} }
@Override
public String getText() {
return this.getTextraLabel().storedText;
}
@Override @Override
public void setText(@Null String text) { public void setText(@Null String text) {
getTextraLabel().storedText = text; getTextraLabel().storedText = text;

View File

@@ -6,7 +6,7 @@
{ {
"type": "Image", "type": "Image",
"name": "rewards_background", "name": "rewards_background",
"image": "ui/rewards_portrait.png", "image": "ui/reward_portrait.png",
"width": 270, "width": 270,
"height": 480 "height": 480
}, },