From 4fb5a899d4538e5f8bf0f42cbaa339b7208ff2e8 Mon Sep 17 00:00:00 2001 From: SallarShayegan Date: Tue, 8 Apr 2025 18:50:06 +0200 Subject: [PATCH] bugfixed last commit --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index 40add52..b537b78 100755 --- a/main.py +++ b/main.py @@ -137,8 +137,8 @@ class GuiMain: if self.loop_input_mode is not None: 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.fx_mode_buttons[3].x+self.lloop_button.position[0])/2-self.loop_input_mode.get_width()/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)]) # flip() the display to put your work on screen