improve PlayerSelector rendering consistency
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m38s
All checks were successful
/ Build BaseBand DSM & Broadway (push) Successful in 2m38s
This commit is contained in:
parent
060c73ee2b
commit
acc9856b34
1 changed files with 1 additions and 2 deletions
|
@ -102,8 +102,7 @@ public class PlayerSelector extends Feature {
|
|||
private void renderOptions(int x, int y) {
|
||||
if(Keyboard.isKeyDown(Keyboard.KEY_LEFT))
|
||||
mode = Mode.LIST;
|
||||
mc.fontRenderer.drawStringWithShadow(" Select with enter", x, y, 0xffffffff);
|
||||
y += mc.fontRenderer.FONT_HEIGHT;
|
||||
mc.fontRenderer.drawStringWithShadow(" Select with enter", x, y - mc.fontRenderer.FONT_HEIGHT, 0xffffffff);
|
||||
y += -Math.min(optionCursor - 5, 0) * mc.fontRenderer.FONT_HEIGHT;
|
||||
|
||||
for (int i = Math.max(0, optionCursor - 5); i < Math.min(options.size(), optionCursor + 6); i++) {
|
||||
|
|
Loading…
Add table
Reference in a new issue