Remove more dead UI code.
This commit is contained in:
parent
d78fdf426b
commit
82c84c7a88
10 changed files with 34 additions and 232 deletions
|
@ -45,9 +45,9 @@ public class SlotConfigExclusionZones implements ExclusionZonesProvider<GuiBase<
|
|||
return Collections.emptyList();
|
||||
}
|
||||
ConfigSlotElement element = SlotConfigGui.slotElementMap.get(SlotConfigGui.selectedSlot);
|
||||
int slotX = element.x + screen.getGuiLeft() -50;
|
||||
int slotX = element.getX() + screen.getGuiLeft() -50;
|
||||
if (element.getWidth() + slotX > screen.getScreenWidth() ) {
|
||||
int slotY = element.y + screen.getGuiTop() + 25;
|
||||
int slotY = element.getY() + screen.getGuiTop() + 25;
|
||||
int exclusionX = screen.getScreenWidth() + screen.getGuiLeft();
|
||||
int exclusionY = slotY + screen.getGuiTop() - (element.getHeight()/2);
|
||||
int exclusionWidth = element.getWidth() + slotX - screen.getScreenWidth() + 15;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue