Skip to content

Commit

Permalink
翻译优化
Browse files Browse the repository at this point in the history
  • Loading branch information
rememberber committed Dec 6, 2024
1 parent c58c7e2 commit ea5d008
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,9 @@ public TranslationLayoutForm() {

UndoUtil.register(this);

textArea1.setLineWrap(true);
textArea2.setLineWrap(true);

addListeners();
}

Expand Down Expand Up @@ -108,6 +111,7 @@ public void changedUpdate(DocumentEvent e) {
public void translateControl() {
Thread thread = new Thread(() -> {
changeCount.incrementAndGet();
textArea2.setText("^_^……");
try {
Thread.sleep(500);
} catch (InterruptedException e) {
Expand Down

0 comments on commit ea5d008

Please sign in to comment.