bugfixed last commit

This commit is contained in:
SallarShayegan
2025-04-08 18:50:06 +02:00
parent b5b792b449
commit 4fb5a899d4

View File

@ -137,8 +137,8 @@ class GuiMain:
if self.loop_input_mode is not None: if self.loop_input_mode is not None:
self.screen.blit(self.loop_input_mode, self.screen.blit(self.loop_input_mode,
(self.lloop_button.position[1]+self.rloop_button.position[1]/2), ((self.fx_mode_buttons[3].x+self.lloop_button.position[0])/2-self.loop_input_mode.get_width()/2,
(self.fx_mode_buttons[3].x + self.lloop_button.position[0]/2)) (self.lloop_button.position[1]+self.rloop_button.position[1])/2-self.loop_input_mode.get_height()/2))
pygame.draw.polygon(self.screen, "white", [(0, self.screenH/2), (self.screenW*3 / 19, self.screenH), (0, self.screenH)]) pygame.draw.polygon(self.screen, "white", [(0, self.screenH/2), (self.screenW*3 / 19, self.screenH), (0, self.screenH)])
# flip() the display to put your work on screen # flip() the display to put your work on screen