hide legendary button on crafted and transmog screens
This commit is contained in:
parent
c7198b4f65
commit
189a44e3c8
1 changed files with 6 additions and 0 deletions
|
|
@ -134,6 +134,8 @@ public class GearModifierScreen extends AbstractElementScreen {
|
|||
ISpatial modListSpatial = Spatials.positionXY(7, 50).size(this.getGuiSpatial().width() - 14, this.getGuiSpatial().height() - 57);
|
||||
this.innerScreen = new TransmogListContainer(modListSpatial, getCurrGear()).layout(this.translateWorldSpatial());
|
||||
this.modifierCategoryButton.setDisabled(true);
|
||||
this.modifierCategoryButton.setVisible(false);
|
||||
this.modifierCategoryLabel.setVisible(false);
|
||||
this.windowName.set(new TranslatableComponent("vhatcaniroll.screen.title.transmogs").withStyle(ChatFormatting.BLACK));
|
||||
this.addElement(this.innerScreen);
|
||||
ScreenLayout.requestLayout();
|
||||
|
|
@ -144,6 +146,8 @@ public class GearModifierScreen extends AbstractElementScreen {
|
|||
ISpatial modListSpatial = Spatials.positionXY(7, 50).size(this.getGuiSpatial().width() - 14, this.getGuiSpatial().height() - 57);
|
||||
this.innerScreen = new ModifierListContainer(modListSpatial, lvlInput.getValue(), modifierCategory, getCurrGear()).layout(this.translateWorldSpatial());
|
||||
this.modifierCategoryButton.setDisabled(false);
|
||||
this.modifierCategoryButton.setVisible(true);
|
||||
this.modifierCategoryLabel.setVisible(true);
|
||||
this.windowName.set(new TranslatableComponent("vhatcaniroll.screen.title.random").withStyle(ChatFormatting.BLACK));
|
||||
this.addElement(this.innerScreen);
|
||||
ScreenLayout.requestLayout();
|
||||
|
|
@ -156,6 +160,8 @@ public class GearModifierScreen extends AbstractElementScreen {
|
|||
ISpatial modListSpatial = Spatials.positionXY(7, 50).size(this.getGuiSpatial().width() - 14, this.getGuiSpatial().height() - 57);
|
||||
this.innerScreen = new CraftedModifiersListContainer(modListSpatial, lvlInput.getValue(), modifierCategory, getCurrGear()).layout(this.translateWorldSpatial());
|
||||
this.modifierCategoryButton.setDisabled(true);
|
||||
this.modifierCategoryButton.setVisible(false);
|
||||
this.modifierCategoryLabel.setVisible(false);
|
||||
this.windowName.set(new TranslatableComponent("vhatcaniroll.screen.title.crafted").withStyle(ChatFormatting.BLACK));
|
||||
this.addElement(this.innerScreen);
|
||||
ScreenLayout.requestLayout();
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue