diff --git a/main.py b/main.py index 567f7c1..bc56fa4 100644 --- a/main.py +++ b/main.py @@ -1206,7 +1206,7 @@ while run: for button in current_buttons: button.draw(screen) - + clock.tick(FPS) if current_mode == "menu": @@ -1221,6 +1221,10 @@ while run: selected_image.render(screen) except (AttributeError, NameError): pass + + for button in current_buttons: + if button.popup_surface: + screen.blit(button.popup_surface, button.popup_rect.topleft) event_list = pygame.event.get()