From 6c5f19b84c9ddf1923b04ed66dd9055f27f31726 Mon Sep 17 00:00:00 2001 From: CrispyPin Date: Sat, 14 Dec 2024 00:25:09 +0100 Subject: [PATCH] darken output ui and world background --- src/editor.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/editor.rs b/src/editor.rs index 84ea2ed..dd8d9cc 100644 --- a/src/editor.rs +++ b/src/editor.rs @@ -444,7 +444,7 @@ impl Editor { } pub fn draw(&mut self, d: &mut RaylibDrawHandle, textures: &Textures) { - d.clear_background(Color::new(64, 64, 64, 255)); + d.clear_background(gray(48)); if self.draw_overlay && self.zoom >= 1. { let tile_size = (TILE_TEXTURE_SIZE * self.zoom) as f32; @@ -868,7 +868,7 @@ impl Editor { (Color::RED, Color::DARKRED) } } else { - (Color::DARKGRAY, Color::DIMGRAY) + (BG_LIGHT, BG_MEDIUM) }; d.draw_rectangle(x, y, output_cell_width - 5, 30, top_color);