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)