diff --git a/assets/tiles/block.png b/assets/tiles/block.png index 3a3cc68..1742ead 100644 Binary files a/assets/tiles/block.png and b/assets/tiles/block.png differ diff --git a/assets/tiles/button_off.png b/assets/tiles/button_off.png index 9998e45..87f123f 100644 Binary files a/assets/tiles/button_off.png and b/assets/tiles/button_off.png differ diff --git a/assets/tiles/button_on.png b/assets/tiles/button_on.png index ff8b8c6..6ffb763 100644 Binary files a/assets/tiles/button_on.png and b/assets/tiles/button_on.png differ diff --git a/assets/tiles/silo_off.png b/assets/tiles/silo_off.png index 27d9c13..2358509 100644 Binary files a/assets/tiles/silo_off.png and b/assets/tiles/silo_off.png differ diff --git a/assets/tiles/silo_on.png b/assets/tiles/silo_on.png index d3c62de..f1b7f08 100644 Binary files a/assets/tiles/silo_on.png and b/assets/tiles/silo_on.png differ diff --git a/assets/tiles/wire_cross_off.png b/assets/tiles/wire_cross_off.png index b511c34..dc0ba7d 100644 Binary files a/assets/tiles/wire_cross_off.png and b/assets/tiles/wire_cross_off.png differ diff --git a/assets/tiles/wire_cross_on.png b/assets/tiles/wire_cross_on.png index d79ca2c..6c8986e 100644 Binary files a/assets/tiles/wire_cross_on.png and b/assets/tiles/wire_cross_on.png differ diff --git a/assets/tiles/wire_horizontal_off.png b/assets/tiles/wire_horizontal_off.png index c0ac36e..619e014 100644 Binary files a/assets/tiles/wire_horizontal_off.png and b/assets/tiles/wire_horizontal_off.png differ diff --git a/assets/tiles/wire_horizontal_on.png b/assets/tiles/wire_horizontal_on.png index 3a96166..1f191b0 100644 Binary files a/assets/tiles/wire_horizontal_on.png and b/assets/tiles/wire_horizontal_on.png differ diff --git a/assets/tiles/wire_vertical_off.png b/assets/tiles/wire_vertical_off.png index 4b81df0..7f9c7f3 100644 Binary files a/assets/tiles/wire_vertical_off.png and b/assets/tiles/wire_vertical_off.png differ diff --git a/assets/tiles/wire_vertical_on.png b/assets/tiles/wire_vertical_on.png index 59222fc..2338581 100644 Binary files a/assets/tiles/wire_vertical_on.png and b/assets/tiles/wire_vertical_on.png differ diff --git a/src/util.rs b/src/util.rs index 98dd8cb..20a28d0 100644 --- a/src/util.rs +++ b/src/util.rs @@ -183,7 +183,14 @@ pub fn texture_option_button( width: tex_size + border * 2., height: tex_size + border * 2., }; - d.draw_rectangle_rec(bounds, widget_bg(&option == current)); + d.draw_rectangle_rec( + bounds, + if &option == current { + BG_WIDGET_ACTIVE + } else { + gray(16) + }, + ); d.draw_texture_ex( texture, pos + Vector2::new(border, border),