From 25c98de3bab5c6beefafbba6ad32dd9b27461be9 Mon Sep 17 00:00:00 2001 From: Evan Pratten Date: Sun, 25 Apr 2021 15:13:29 -0400 Subject: [PATCH] fix pause menu graphics --- src/logic/pausemenu.rs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/logic/pausemenu.rs b/src/logic/pausemenu.rs index 48a3d3d..375dec5 100644 --- a/src/logic/pausemenu.rs +++ b/src/logic/pausemenu.rs @@ -26,8 +26,11 @@ impl Screen for PauseMenuScreen { game_core: &mut GameCore, ) -> Option { let mouse_position = draw_handle.get_mouse_position(); - draw_handle.clear_background(Color::GRAY); - // TODO: Maybe we can stick some art here? + // draw_handle.clear_background(Color::GRAY); + // // TODO: Maybe we can stick some art here? + + // Render the background + draw_handle.draw_texture(&game_core.resources.shop_background, 0, 0, Color::WHITE); // If escape is pressed again, return to the previous render state if draw_handle.is_key_pressed(KeyboardKey::KEY_ESCAPE) {