Skip to content
Snippets Groups Projects
Commit 8824fd30 authored by Fabian Heinrich's avatar Fabian Heinrich
Browse files

No background fill for recipe images

parent d26280b0
No related branches found
No related tags found
No related merge requests found
Pipeline #49202 passed
...@@ -923,7 +923,7 @@ class Visualizer: ...@@ -923,7 +923,7 @@ class Visualizer:
def draw_recipe_image( def draw_recipe_image(
self, screen: pygame.Surface, graph_dict, width, height, grid_size self, screen: pygame.Surface, graph_dict, width, height, grid_size
) -> None: ) -> None:
screen.fill(self.config["GameWindow"]["background_color"]) # screen.fill(self.config["GameWindow"]["background_color"])
positions_dict = graph_dict["layout"] positions_dict = graph_dict["layout"]
positions = np.array(list(positions_dict.values())) positions = np.array(list(positions_dict.values()))
positions = positions - positions.min(axis=0) positions = positions - positions.min(axis=0)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment