From 975e5dca49fb09fe2f762462f1c337c0d63735bf Mon Sep 17 00:00:00 2001 From: Viljami Ilola <+@hix.fi> Date: Wed, 20 Mar 2024 17:46:10 +0200 Subject: exploding text --- src/sliceitoff/display/display.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/sliceitoff/display/display.py') diff --git a/src/sliceitoff/display/display.py b/src/sliceitoff/display/display.py index 2d6605f..06b222c 100644 --- a/src/sliceitoff/display/display.py +++ b/src/sliceitoff/display/display.py @@ -22,7 +22,7 @@ class Display(): print( "DISPLAY: \n" f" {Scaling.active = }\n" - f" {Scaling.border = }\n" + f" {Scaling.borders = }\n" f" {Scaling.factor = }\n") def update(self, groups = None): @@ -30,6 +30,8 @@ class Display(): self.screen.fill(Stats.bgcolor, rect=Scaling.active) for group in groups: group.draw(self.screen) + self.screen.fill(Stats.bordercolor, rect=Scaling.borders[0]) + self.screen.fill(Stats.bordercolor, rect=Scaling.borders[1]) pygame.display.flip() def __del__(self): -- cgit v1.2.3