Patcher support for icon regions
This commit is contained in:
@@ -1509,7 +1509,7 @@ abstract class BuildingComp implements Posc, Teamc, Healthc, Buildingc, Timerc,
|
||||
//TODO duplicated code?
|
||||
table.table(t -> {
|
||||
t.left();
|
||||
t.add(new Image(block.getDisplayIcon(tile))).size(8 * 4);
|
||||
t.add(new Image(block.getDisplayIcon(tile))).scaling(Scaling.fit).size(8 * 4);
|
||||
t.labelWrap(block.getDisplayName(tile)).left().width(190f).padLeft(5);
|
||||
}).growX().left();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user