WIP style refactoring
This commit is contained in:
@@ -89,12 +89,12 @@ public class LoadoutDialog extends BaseDialog{
|
||||
for(ItemStack stack : stacks){
|
||||
items.table(Tex.pane, t -> {
|
||||
t.margin(4).marginRight(8).left();
|
||||
t.button("-", Styles.cleart, () -> {
|
||||
t.button("-", Styles.flatt, () -> {
|
||||
stack.amount = Math.max(stack.amount - step(stack.amount), 0);
|
||||
updater.run();
|
||||
}).size(bsize);
|
||||
|
||||
t.button("+", Styles.cleart, () -> {
|
||||
t.button("+", Styles.flatt, () -> {
|
||||
stack.amount = Math.min(stack.amount + step(stack.amount), capacity);
|
||||
updater.run();
|
||||
}).size(bsize);
|
||||
|
||||
Reference in New Issue
Block a user