Aligned reconstructor unit labels
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 2.4 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.3 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 1.5 KiB |
BIN
core/assets-raw/sprites/blocks/turrets/fracture/fracture-mid.png
Normal file
BIN
core/assets-raw/sprites/blocks/turrets/fracture/fracture-mid.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 783 B |
@@ -1,7 +1,6 @@
|
|||||||
package mindustry.world.blocks.units;
|
package mindustry.world.blocks.units;
|
||||||
|
|
||||||
import arc.*;
|
import arc.*;
|
||||||
import arc.graphics.*;
|
|
||||||
import arc.graphics.g2d.*;
|
import arc.graphics.g2d.*;
|
||||||
import arc.math.*;
|
import arc.math.*;
|
||||||
import arc.math.geom.*;
|
import arc.math.geom.*;
|
||||||
@@ -78,8 +77,8 @@ public class Reconstructor extends UnitBlock{
|
|||||||
table.row();
|
table.row();
|
||||||
for(var upgrade : upgrades){
|
for(var upgrade : upgrades){
|
||||||
if(upgrade[0].unlockedNow() && upgrade[1].unlockedNow()){
|
if(upgrade[0].unlockedNow() && upgrade[1].unlockedNow()){
|
||||||
table.table(t -> {
|
table.table(Tex.whiteui, t -> {
|
||||||
t.setBackground(Tex.whiteui);
|
t.left();
|
||||||
t.setColor(Pal.darkestGray);
|
t.setColor(Pal.darkestGray);
|
||||||
|
|
||||||
t.image(upgrade[0].uiIcon).size(40).pad(10f).left();
|
t.image(upgrade[0].uiIcon).size(40).pad(10f).left();
|
||||||
@@ -96,8 +95,8 @@ public class Reconstructor extends UnitBlock{
|
|||||||
t.image(Icon.right).color(Pal.darkishGray).size(40).pad(10f);
|
t.image(Icon.right).color(Pal.darkishGray).size(40).pad(10f);
|
||||||
}).fill().padTop(5).padBottom(5);
|
}).fill().padTop(5).padBottom(5);
|
||||||
|
|
||||||
table.table(t -> {
|
table.table(Tex.whiteui, t -> {
|
||||||
t.setBackground(Tex.whiteui);
|
t.left();
|
||||||
t.setColor(Pal.darkestGray);
|
t.setColor(Pal.darkestGray);
|
||||||
|
|
||||||
t.image(upgrade[1].uiIcon).size(40).pad(10f).right();
|
t.image(upgrade[1].uiIcon).size(40).pad(10f).right();
|
||||||
|
|||||||
Reference in New Issue
Block a user