Misc formatting
This commit is contained in:
@@ -275,9 +275,7 @@ public class Control implements ApplicationListener, Loadable{
|
|||||||
}
|
}
|
||||||
|
|
||||||
private void placeLandBuild(Building build){
|
private void placeLandBuild(Building build){
|
||||||
//TODO instance reuse bad?
|
|
||||||
build.tile.setBlock(build.block, build.team, build.rotation, () -> build);
|
build.tile.setBlock(build.block, build.team, build.rotation, () -> build);
|
||||||
//TODO dropped bad?
|
|
||||||
build.dropped();
|
build.dropped();
|
||||||
|
|
||||||
Fx.coreBuildBlock.at(build.x, build.y, 0f, build.block);
|
Fx.coreBuildBlock.at(build.x, build.y, 0f, build.block);
|
||||||
|
|||||||
@@ -384,6 +384,7 @@ public class MapObjectivesCanvas extends WidgetGroup{
|
|||||||
|
|
||||||
row().table(Tex.buttonSelectTrans, t -> {
|
row().table(Tex.buttonSelectTrans, t -> {
|
||||||
t.labelWrap(obj.typeName()).grow()
|
t.labelWrap(obj.typeName()).grow()
|
||||||
|
.style(Styles.outlineLabel)
|
||||||
.color(Pal.accent).align(Align.left).padLeft(6f)
|
.color(Pal.accent).align(Align.left).padLeft(6f)
|
||||||
.ellipsis(true).get().setAlignment(Align.left);
|
.ellipsis(true).get().setAlignment(Align.left);
|
||||||
|
|
||||||
|
|||||||
@@ -35,11 +35,7 @@ public class Fonts{
|
|||||||
private static TextureRegion[] iconTable;
|
private static TextureRegion[] iconTable;
|
||||||
private static int lastCid;
|
private static int lastCid;
|
||||||
|
|
||||||
public static Font def;
|
public static Font def, outline, icon, iconLarge, tech;
|
||||||
public static Font outline;
|
|
||||||
public static Font icon;
|
|
||||||
public static Font iconLarge;
|
|
||||||
public static Font tech;
|
|
||||||
|
|
||||||
public static TextureRegion logicIcon(int id){
|
public static TextureRegion logicIcon(int id){
|
||||||
return iconTable[id];
|
return iconTable[id];
|
||||||
|
|||||||
@@ -53,7 +53,7 @@ public class ColorPicker extends BaseDialog{
|
|||||||
|
|
||||||
t.row();
|
t.row();
|
||||||
|
|
||||||
t.defaults().padBottom(6).width(400f).height(44f);
|
t.defaults().padBottom(6).width(370f).height(44f);
|
||||||
|
|
||||||
t.stack(new Image(new TextureRegion(hueTex)), hSlider = new Slider(0f, 360f, 0.3f, false){{
|
t.stack(new Image(new TextureRegion(hueTex)), hSlider = new Slider(0f, 360f, 0.3f, false){{
|
||||||
setValue(h);
|
setValue(h);
|
||||||
|
|||||||
Reference in New Issue
Block a user