Disable naval units on ground / Mobile payload input
This commit is contained in:
@@ -149,7 +149,10 @@ public class Fonts{
|
||||
|
||||
Core.assets.load("tech", Font.class, new FreeTypeFontLoaderParameter("fonts/tech.ttf", new FreeTypeFontParameter(){{
|
||||
size = 18;
|
||||
}})).loaded = f -> Fonts.tech = (Font)f;
|
||||
}})).loaded = f -> {
|
||||
Fonts.tech = (Font)f;
|
||||
((Font)f).getData().down *= 1.5f;
|
||||
};
|
||||
}
|
||||
|
||||
/** Merges the UI and font atlas together for better performance. */
|
||||
|
||||
@@ -342,6 +342,7 @@ public class ResearchDialog extends BaseDialog{
|
||||
|
||||
((TextureRegionDrawable)button.getStyle().imageUp).setRegion(node.selectable ? node.node.content.icon(Cicon.medium) : Icon.lock.getRegion());
|
||||
button.getImage().setColor(!locked(node.node) ? Color.white : node.selectable ? Color.gray : Pal.gray);
|
||||
button.getImage().setScaling(Scaling.bounded);
|
||||
});
|
||||
addChild(button);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user