diff --git a/my_music.py b/my_music.py index 27615e8..e998061 100644 --- a/my_music.py +++ b/my_music.py @@ -40,7 +40,7 @@ while True: # 按下鼠标 if event.type == locals.MOUSEBUTTONDOWN: if event.button==1: - x,y=event.button + x,y=event.pos if x>270 and x<370 and y>270 and y<370: