From fc86384699ddc77849a57be22523e70d255b59aa Mon Sep 17 00:00:00 2001
From: BellCodeEditor <bellcode_dev@bell.ai>
Date: Sat, 19 Feb 2022 13:52:45 +0800
Subject: [PATCH] save project

---
 my_music.py |  9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/my_music.py b/my_music.py
index 3793a43..c00cd65 100644
--- a/my_music.py
+++ b/my_music.py
@@ -48,6 +48,15 @@ while True:
                     play_button = play_img
                     pygame.mixer.music.pause()
 
+            if x > 120 and x < 220 and y > 350 and y < 400:
+                num -= 1
+                if num < 0:
+                    num = len(music_list) - 1:
+                pygame.mixer.music.load(path + "\\"+music[num])
+                pygame.mixer.music.play()
+                play_button = stop_img
+                click = 0
+
     if pygame.mixer.music.get_busy() == False:
         pygame.mixer.music.play()
 
--
libgit2 0.25.0