mirror of
https://github.com/enzet/map-machine.git
synced 2025-06-04 03:41:50 +02:00
Add white and black modes.
This commit is contained in:
parent
7a8f9c49b0
commit
b777d7bb4f
3 changed files with 45 additions and 5 deletions
|
@ -48,8 +48,8 @@ class Map:
|
|||
self.configuration = configuration
|
||||
|
||||
self.background_color: Color = self.scheme.get_color("background_color")
|
||||
if self.configuration.is_wireframe():
|
||||
self.background_color: Color = Color("#111111")
|
||||
if self.configuration.backghround_color():
|
||||
self.background_color = self.configuration.backghround_color()
|
||||
|
||||
def draw(self, constructor: Constructor) -> None:
|
||||
"""Draw map."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue