v3.2.3: fixed a hero button layout issue on desktop
This commit is contained in:
+3
@@ -600,9 +600,12 @@ public class HeroSelectScene extends PixelScene {
|
|||||||
@Override
|
@Override
|
||||||
protected void layout() {
|
protected void layout() {
|
||||||
super.layout();
|
super.layout();
|
||||||
|
//if we're super tall (i.e. rendering into display inset) then put hero at the top
|
||||||
|
if (height > 30) {
|
||||||
icon.y = y + (HEIGHT - icon.height()) / 2f;
|
icon.y = y + (HEIGHT - icon.height()) / 2f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
private class GameOptions extends Component {
|
private class GameOptions extends Component {
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user