Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
tozyx committed Sep 17, 2022
1 parent ec59c96 commit 6c994a3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions genshin_piano/PressNew.java
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@ public MyTread(ArrayList<String> tolLyrics, ArrayList<Double> tolTime) {

@Override
public void run() {
press('A', 0.5);
press('S', 0.5);
press('D', 0.5);
for (int i = 0; i < tolLyrics.size() && isPlaying; i++) {
press(i);
}
press('A',0.5);
press('S',0.5);
press('D',0.5);
System.out.println("线程" + Thread.currentThread().getName() + "结束");
isPlaying = false;
startFrame.startPlay.setEnabled(true);
Expand Down

0 comments on commit 6c994a3

Please sign in to comment.