Skip to content

Commit

Permalink
Fix: Top lines were not visible for comments with many lines in Panel UI
Browse files Browse the repository at this point in the history
  • Loading branch information
Hiraoka committed Mar 9, 2021
1 parent 687a2a6 commit 007c5e9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/java/featurecat/lizzie/gui/CommentPane.java
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ public void drawComment() {
Font font = new Font(Lizzie.config.fontName, Font.PLAIN, fontSize);
commentPane.setFont(font);
commentPane.setText(comment);
commentPane.setCaretPosition(0);
}
}
}
Expand Down

0 comments on commit 007c5e9

Please sign in to comment.