diff options
Diffstat (limited to 'src/sliceitoff/display')
-rw-r--r-- | src/sliceitoff/display/__init__.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/display/colors.py | 2 | ||||
-rw-r--r-- | src/sliceitoff/display/display.py | 3 |
3 files changed, 3 insertions, 4 deletions
diff --git a/src/sliceitoff/display/__init__.py b/src/sliceitoff/display/__init__.py index 42c1b12..92f4d75 100644 --- a/src/sliceitoff/display/__init__.py +++ b/src/sliceitoff/display/__init__.py @@ -1,4 +1,4 @@ from .scaling import Scaling from .display import Display from .static import INTERNAL_WIDTH, INTERNAL_HEIGHT -from .colors import EGA_COLORS +from .colors import CGA_COLORS diff --git a/src/sliceitoff/display/colors.py b/src/sliceitoff/display/colors.py index 18ccfc9..f8747c0 100644 --- a/src/sliceitoff/display/colors.py +++ b/src/sliceitoff/display/colors.py @@ -1,6 +1,6 @@ """ text.colors - colors are defined here """ -EGA_COLORS=[ +CGA_COLORS=[ (0x00,0x00,0x00,0xFF), (0x00,0x00,0xAA,0xFF), (0x00,0xAA,0x00,0xFF), diff --git a/src/sliceitoff/display/display.py b/src/sliceitoff/display/display.py index c2a3e44..2febdc2 100644 --- a/src/sliceitoff/display/display.py +++ b/src/sliceitoff/display/display.py @@ -30,8 +30,7 @@ class Display(): self.screen.fill(Stats.bgcolor, rect=Scaling.active) #(g.draw(self.screen) for g in groups if g) for group in groups: - if group: - group.draw(self.screen) + 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() |