From b1cfa8b67d61a102b9256286d3f0f71cc3816adc Mon Sep 17 00:00:00 2001 From: Junior Date: Wed, 5 Jun 2024 17:08:23 -0400 Subject: [PATCH] Bad commit? --- PyGame/Calculator/calc.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/PyGame/Calculator/calc.py b/PyGame/Calculator/calc.py index d88a6f9..51abf5e 100644 --- a/PyGame/Calculator/calc.py +++ b/PyGame/Calculator/calc.py @@ -236,12 +236,10 @@ while True: print(display_num_decimal) old_display_num_whole = display_num_whole old_display_num_decimal = display_num_decimal - #pygame.draw.rect(screen, (0, 0, 0), pygame.Rect(12, 97, 576, 126)) pygame.draw.rect(screen, black, pygame.Rect(10, 100, width - 20, 110)) pygame.draw.rect(screen, yellow, pygame.Rect(10, 100, width - 20, 110), 2) text = sevenseg_font.render(display_num_whole + "." + display_num_decimal, True, white) screen.blit(text, (width - 20 - text.get_width(), 120)) - #pygame.draw.rect(screen, yellow, pygame.Rect(10, 100, 580, 110), 2) for key, b in buttons.items(): if b.flashing == True and time.time() >= b.unflash_on: flash_button(b)