minor fix
This commit is contained in:
parent
4c3e35b03c
commit
9d6e313ff8
|
@ -314,7 +314,7 @@ public class ClickGuiRewrite extends GuiScreen {
|
||||||
comps.add(new CompCustom(x+110+settingXOffset, y+125+settingYOffset, selectedMod, s.name, s));
|
comps.add(new CompCustom(x+110+settingXOffset, y+125+settingYOffset, selectedMod, s.name, s));
|
||||||
}
|
}
|
||||||
|
|
||||||
if(x+180+settingXOffset+fr.getStringWidth(s.name)*2 > x+width-20) {
|
if(x+155+settingXOffset+fr.getStringWidth(s.name) > x+width-20-fr.getStringWidth(s.name)*2) {
|
||||||
settingXOffset = 0;
|
settingXOffset = 0;
|
||||||
settingYOffset += 25;
|
settingYOffset += 25;
|
||||||
}else {
|
}else {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user