Payload mass driver + More payload tech
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 904 B After Width: | Height: | Size: 863 B |
Binary file not shown.
|
Before Width: | Height: | Size: 892 B After Width: | Height: | Size: 889 B |
@@ -42,7 +42,7 @@ public class ItemSelection{
|
|||||||
|
|
||||||
ImageButton button = cont.button(Tex.whiteui, Styles.clearToggleTransi, 24, () -> {
|
ImageButton button = cont.button(Tex.whiteui, Styles.clearToggleTransi, 24, () -> {
|
||||||
if(closeSelect) control.input.frag.config.hideConfig();
|
if(closeSelect) control.input.frag.config.hideConfig();
|
||||||
}).group(group).get();
|
}).group(group).tooltip(item.localizedName).get();
|
||||||
button.changed(() -> consumer.get(button.isChecked() ? item : null));
|
button.changed(() -> consumer.get(button.isChecked() ? item : null));
|
||||||
button.getStyle().imageUp = new TextureRegionDrawable(item.uiIcon);
|
button.getStyle().imageUp = new TextureRegionDrawable(item.uiIcon);
|
||||||
button.update(() -> button.setChecked(holder.get() == item));
|
button.update(() -> button.setChecked(holder.get() == item));
|
||||||
|
|||||||
Reference in New Issue
Block a user