mirror of
https://github.com/enzet/map-machine.git
synced 2025-07-28 22:08:01 +02:00
Fix background color function.
This commit is contained in:
parent
8aa06c7d70
commit
1197a60bac
2 changed files with 4 additions and 3 deletions
|
@ -48,8 +48,8 @@ class Map:
|
|||
self.configuration = configuration
|
||||
|
||||
self.background_color: Color = self.scheme.get_color("background_color")
|
||||
if self.configuration.backghround_color():
|
||||
self.background_color = self.configuration.backghround_color()
|
||||
if color := self.configuration.background_color():
|
||||
self.background_color = color
|
||||
|
||||
def draw(self, constructor: Constructor) -> None:
|
||||
"""Draw map."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue