Compare commits

...

2 commits

Author SHA1 Message Date
6c5f19b84c darken output ui and world background 2024-12-14 00:25:09 +01:00
168794a797 redraw block sprite 2024-12-14 00:24:47 +01:00
2 changed files with 2 additions and 2 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 155 B

After

Width:  |  Height:  |  Size: 155 B

View file

@ -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);