mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Ensure borders show up
This commit is contained in:
@@ -23,7 +23,7 @@ public abstract class LaunchScreen extends FScreen {
|
||||
protected final void doLayout(float startY, float width, float height) {
|
||||
float imageWidth = FSkinImage.BTN_START_UP.getWidth();
|
||||
float imageHeight = FSkinImage.BTN_START_UP.getHeight();
|
||||
float padding = imageHeight * 0.1f;
|
||||
float padding = imageHeight * 0.025f;
|
||||
|
||||
btnStart.setBounds((width - imageWidth) / 2, height - imageHeight - padding, imageWidth, imageHeight);
|
||||
|
||||
|
||||
@@ -52,7 +52,7 @@ import forge.util.Utils;
|
||||
import forge.util.storage.IStorage;
|
||||
|
||||
public class ConstructedScreen extends LaunchScreen {
|
||||
private static final FSkinColor PLAYER_BORDER_COLOR = FSkinColor.get(Colors.CLR_THEME).alphaColor(0.8f);
|
||||
private static final FSkinColor PLAYER_BORDER_COLOR = FSkinColor.get(Colors.CLR_BORDERS).alphaColor(0.8f);
|
||||
private static final ForgePreferences prefs = FModel.getPreferences();
|
||||
private static final float PADDING = 5;
|
||||
private static final int MAX_PLAYERS = 8;
|
||||
|
||||
Reference in New Issue
Block a user