Add white and black modes.

This commit is contained in:
Sergey Vartanov 2021-11-12 03:32:17 +03:00
parent 7a8f9c49b0
commit b777d7bb4f
3 changed files with 45 additions and 5 deletions

View file

@ -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."""