new icon for removing blueprints
This commit is contained in:
parent
6365af0111
commit
172cfc9409
2 changed files with 1 additions and 1 deletions
BIN
assets/rubbish.png
Normal file
BIN
assets/rubbish.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 162 B |
|
@ -429,7 +429,7 @@ impl Editor {
|
||||||
self.blueprints.remove(i);
|
self.blueprints.remove(i);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
draw_scaled_texture(d, textures.get("cancel"), 5, y, 2.);
|
draw_scaled_texture(d, textures.get("rubbish"), 5, y, 2.);
|
||||||
let is_selected = self.selected_blueprint == i;
|
let is_selected = self.selected_blueprint == i;
|
||||||
let mut text_selected = is_selected && self.blueprint_name_selected;
|
let mut text_selected = is_selected && self.blueprint_name_selected;
|
||||||
text_input(
|
text_input(
|
||||||
|
|
Loading…
Reference in a new issue