Skip to content

Commit 2c05e17

Browse files
authored
dimensions
1 parent dc6542f commit 2c05e17

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Frame.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public Frame() {
4444
window = new JFrame();
4545
window.setContentPane(this);
4646
window.setTitle("Neovim Key Practice");
47-
window.getContentPane().setPreferredSize(new Dimension(800+16, 800+16));
47+
window.getContentPane().setPreferredSize(new Dimension(800+50, 800+16));
4848
window.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
4949
window.pack();
5050
window.setLocationRelativeTo(null);
@@ -90,7 +90,7 @@ public void paintComponent(Graphics g) {
9090
g.drawString(goalCounter == 1 ? goalCounter + " goal" : goalCounter + " goals", 400, 800);
9191
g.drawString(
9292
averageTime == 1 ? "Average Time: " + String.format("%.2f", averageTime) + " second" : "Average Time: " + String.format("%.2f", averageTime) + " seconds",
93-
590, 800);
93+
600, 800);
9494
}
9595

9696
@Override

0 commit comments

Comments
 (0)