fix a wild indentation error and spaces
This commit is contained in:
parent
04b7705c40
commit
48d742bbc5
|
@ -98,7 +98,7 @@ public class OptionsOverlay {
|
||||||
// calculate positions
|
// calculate positions
|
||||||
optionWidth = width / 2;
|
optionWidth = width / 2;
|
||||||
optionHeight = (int) ((Fonts.MEDIUM.getLineHeight()) * 1.1f);
|
optionHeight = (int) ((Fonts.MEDIUM.getLineHeight()) * 1.1f);
|
||||||
listItemHeight= (int) (optionHeight * 4f / 5f);
|
listItemHeight = (int) (optionHeight * 4f / 5f);
|
||||||
optionStartX = optionWidth / 2;
|
optionStartX = optionWidth / 2;
|
||||||
|
|
||||||
// initialize tabs
|
// initialize tabs
|
||||||
|
@ -162,7 +162,7 @@ public class OptionsOverlay {
|
||||||
renderTooltip(g, mouseX, mouseY);
|
renderTooltip(g, mouseX, mouseY);
|
||||||
|
|
||||||
// key input options
|
// key input options
|
||||||
if (keyEntryLeft ||keyEntryRight) {
|
if (keyEntryLeft || keyEntryRight) {
|
||||||
renderKeyEntry(g);
|
renderKeyEntry(g);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -426,7 +426,7 @@ public class OptionsOverlay {
|
||||||
} else if (hoverOption == GameOption.KEY_RIGHT) {
|
} else if (hoverOption == GameOption.KEY_RIGHT) {
|
||||||
keyEntryLeft = true;
|
keyEntryLeft = true;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// check if tab was clicked
|
// check if tab was clicked
|
||||||
int tScrollOffset = 0;
|
int tScrollOffset = 0;
|
||||||
|
@ -534,6 +534,7 @@ public class OptionsOverlay {
|
||||||
public interface Parent {
|
public interface Parent {
|
||||||
|
|
||||||
void onLeave();
|
void onLeave();
|
||||||
|
|
||||||
void onSaveOption(GameOption option);
|
void onSaveOption(GameOption option);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user