Skip to content

Commit

Permalink
dimensions
Browse files Browse the repository at this point in the history
  • Loading branch information
BooleanCube authored Feb 6, 2022
1 parent dc6542f commit 2c05e17
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Frame.java
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ public Frame() {
window = new JFrame();
window.setContentPane(this);
window.setTitle("Neovim Key Practice");
window.getContentPane().setPreferredSize(new Dimension(800+16, 800+16));
window.getContentPane().setPreferredSize(new Dimension(800+50, 800+16));
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
window.pack();
window.setLocationRelativeTo(null);
Expand Down Expand Up @@ -90,7 +90,7 @@ public void paintComponent(Graphics g) {
g.drawString(goalCounter == 1 ? goalCounter + " goal" : goalCounter + " goals", 400, 800);
g.drawString(
averageTime == 1 ? "Average Time: " + String.format("%.2f", averageTime) + " second" : "Average Time: " + String.format("%.2f", averageTime) + " seconds",
590, 800);
600, 800);
}

@Override
Expand Down

0 comments on commit 2c05e17

Please sign in to comment.