fix a wild indentation error and spaces

This commit is contained in:
yugecin 2016-12-12 23:22:12 +01:00
parent 04b7705c40
commit 48d742bbc5

View File

@ -98,7 +98,7 @@ public class OptionsOverlay {
// calculate positions
optionWidth = width / 2;
optionHeight = (int) ((Fonts.MEDIUM.getLineHeight()) * 1.1f);
listItemHeight= (int) (optionHeight * 4f / 5f);
listItemHeight = (int) (optionHeight * 4f / 5f);
optionStartX = optionWidth / 2;
// initialize tabs
@ -162,7 +162,7 @@ public class OptionsOverlay {
renderTooltip(g, mouseX, mouseY);
// key input options
if (keyEntryLeft ||keyEntryRight) {
if (keyEntryLeft || keyEntryRight) {
renderKeyEntry(g);
}
}
@ -534,6 +534,7 @@ public class OptionsOverlay {
public interface Parent {
void onLeave();
void onSaveOption(GameOption option);
}