Skip to content

Commit

Permalink
Removed debug printlns.
Browse files Browse the repository at this point in the history
Who uses a debugger???
Tweaked fonts.
  • Loading branch information
coltonk9043 committed Mar 8, 2024
1 parent e2b2562 commit de5005a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/java/net/aoba/gui/font/FontManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ public boolean accept(File dir, String name) {
List<Font> list = new ArrayList<Font>();

try {
Font font = LoadTTFFont(file, 14, 2, new TrueTypeFontLoader.Shift(-1, -1f), "");
Font font = LoadTTFFont(file, 12.5f, 2, new TrueTypeFontLoader.Shift(-1, 0), "");
list.add(font);
} catch (Exception e) {
e.printStackTrace();
Expand Down
7 changes: 0 additions & 7 deletions src/main/java/net/aoba/gui/tabs/components/ListComponent.java
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,6 @@ public void draw(DrawContext drawContext, float partialTicks, Color color) {
public void OnLeftMouseDown(LeftMouseDownEvent event) {
double mouseX = event.GetMouseX();

System.out.println("mouse down");
// Mouse is on the left
if(this.hovered) {
if (mouseX > actualX && mouseX < (actualX + 32)) {
Expand All @@ -82,13 +81,7 @@ public void OnLeftMouseDown(LeftMouseDownEvent event) {
}
}

@Override
public void update() {
super.update();
}

public void setSelectedIndex(int index) {
System.out.println(index);
selectedIndex = index;
listSetting.setValue(options.get(selectedIndex));
}
Expand Down

0 comments on commit de5005a

Please sign in to comment.