Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
YaeSakuraQvQ committed Dec 26, 2023
1 parent d34769a commit 84a1666
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/mi2u/ui/MinimapMindow.java
Original file line number Diff line number Diff line change
Expand Up @@ -85,9 +85,9 @@ public MinimapMindow(){
Cons<Table> l = tl -> {
tl.table(tt -> {
tt.defaults().width(1f).fontScale(0.8f);
tt.label(() -> player.unit().type.emoji() + Strings.fixed(World.conv(player.x), 1) + ", "+ Strings.fixed(World.conv(player.y), 1)).get().setAlignment(Align.right);
tt.label(() -> Strings.fixed(World.conv(player.x), 1) + ", "+ Strings.fixed(World.conv(player.y), 1) + player.unit().type.emoji()).get().setAlignment(Align.right);
tt.row();
tt.label(() -> "♐" + Strings.fixed(World.conv(Core.input.mouseWorldX()), 1) + ", "+ Strings.fixed(World.conv(Core.input.mouseWorldY()), 1)).color(Color.lightGray).get().setAlignment(Align.right);
tt.label(() -> Strings.fixed(World.conv(Core.input.mouseWorldX()), 1) + ", "+ Strings.fixed(World.conv(Core.input.mouseWorldY()), 1) + "♐").color(Color.lightGray).get().setAlignment(Align.right);
}).right();
};
Cons<Table> b = tb -> {
Expand Down

0 comments on commit 84a1666

Please sign in to comment.