Verified Commit 344a9261 authored by Jakob Moser's avatar Jakob Moser
Browse files

Use normal color tuples

With the new driver, the display is correctly addressed in RGB mode, so we actually need tuples to contain the color values in the form (red, green, blue)
parent 57320408
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -17,7 +17,7 @@ class Balance(BalanceBase):
        # We expect the director's display to be a PyGame display (after all, this is a PyGame scene)
        display = cast(PygameDisplay, self.director.display)

        display.surface.fill((120, 0, 0))
        display.surface.fill((0, 0, 120))

        display.surface.blit(
            fira_sans.render(f"Hallo {self.person_name}!", True, white),
+1 −1
Original line number Diff line number Diff line
@@ -12,7 +12,7 @@ class PaymentFailure(PaymentFailureBase):
    def present(self) -> None:
        display = cast(PygameDisplay, self.director.display)

        display.surface.fill((0, 0, 120))
        display.surface.fill((120, 0, 0))
        display.surface.blit(
            fira_sans_large.render("Zahlung fehlgeschlagen", True, white),
            (90, 110),