darken output ui and world background
This commit is contained in:
parent
168794a797
commit
6c5f19b84c
1 changed files with 2 additions and 2 deletions
|
@ -444,7 +444,7 @@ impl Editor {
|
||||||
}
|
}
|
||||||
|
|
||||||
pub fn draw(&mut self, d: &mut RaylibDrawHandle, textures: &Textures) {
|
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. {
|
if self.draw_overlay && self.zoom >= 1. {
|
||||||
let tile_size = (TILE_TEXTURE_SIZE * self.zoom) as f32;
|
let tile_size = (TILE_TEXTURE_SIZE * self.zoom) as f32;
|
||||||
|
@ -868,7 +868,7 @@ impl Editor {
|
||||||
(Color::RED, Color::DARKRED)
|
(Color::RED, Color::DARKRED)
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
(Color::DARKGRAY, Color::DIMGRAY)
|
(BG_LIGHT, BG_MEDIUM)
|
||||||
};
|
};
|
||||||
|
|
||||||
d.draw_rectangle(x, y, output_cell_width - 5, 30, top_color);
|
d.draw_rectangle(x, y, output_cell_width - 5, 30, top_color);
|
||||||
|
|
Loading…
Reference in a new issue