mirror of
https://github.com/Anuken/Mindustry.git
synced 2025-02-11 11:17:11 +07:00
Misc formatting
This commit is contained in:
parent
695c19d0b0
commit
f1917fea3e
@ -275,9 +275,7 @@ public class Control implements ApplicationListener, Loadable{
|
||||
}
|
||||
|
||||
private void placeLandBuild(Building build){
|
||||
//TODO instance reuse bad?
|
||||
build.tile.setBlock(build.block, build.team, build.rotation, () -> build);
|
||||
//TODO dropped bad?
|
||||
build.dropped();
|
||||
|
||||
Fx.coreBuildBlock.at(build.x, build.y, 0f, build.block);
|
||||
|
@ -384,6 +384,7 @@ public class MapObjectivesCanvas extends WidgetGroup{
|
||||
|
||||
row().table(Tex.buttonSelectTrans, t -> {
|
||||
t.labelWrap(obj.typeName()).grow()
|
||||
.style(Styles.outlineLabel)
|
||||
.color(Pal.accent).align(Align.left).padLeft(6f)
|
||||
.ellipsis(true).get().setAlignment(Align.left);
|
||||
|
||||
|
@ -35,11 +35,7 @@ public class Fonts{
|
||||
private static TextureRegion[] iconTable;
|
||||
private static int lastCid;
|
||||
|
||||
public static Font def;
|
||||
public static Font outline;
|
||||
public static Font icon;
|
||||
public static Font iconLarge;
|
||||
public static Font tech;
|
||||
public static Font def, outline, icon, iconLarge, tech;
|
||||
|
||||
public static TextureRegion logicIcon(int id){
|
||||
return iconTable[id];
|
||||
|
@ -53,7 +53,7 @@ public class ColorPicker extends BaseDialog{
|
||||
|
||||
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){{
|
||||
setValue(h);
|
||||
|
Loading…
Reference in New Issue
Block a user