Skip to content

Commit

Permalink
Merge pull request #126 from rememberber/develop
Browse files Browse the repository at this point in the history
翻译优化
  • Loading branch information
rememberber authored Dec 6, 2024
2 parents 80580c9 + ea5d008 commit 49fec12
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 49fec12

Please sign in to comment.