From e5385a90f9a13779eb461941ed92d1cb9fe6d6b7 Mon Sep 17 00:00:00 2001 From: BellCodeEditor <bellcode_dev@bell.ai> Date: Sat, 28 Oct 2023 16:02:57 +0800 Subject: [PATCH] save project --- my_music.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/my_music.py b/my_music.py index 1b2eac9..4014e39 100644 --- a/my_music.py +++ b/my_music.py @@ -39,6 +39,9 @@ while True: # 按下鼠标 if event.type == locals.MOUSEBUTTONDOWN: + if even.button ==1: + x,y=event.pos + if x >270 and x<370 and y >350 andy<450: if event.button == 1: x,y = event.pos if x > 270 and x <370 and y > 350 and y < 450: -- libgit2 0.25.0