add comment

This commit is contained in:
Simon Gardling 2022-04-20 10:01:59 -04:00
parent f50a8ae45d
commit cb5682ae6c

View File

@ -206,13 +206,14 @@ impl FunctionEntry {
.fixed_pos(re.rect.min.offset_y(row_height * 1.32))
.order(egui::Order::Foreground);
let mut should_remove: bool = false;
/// Function that creates button that's used with the `button_area`
fn button_area_button(text: impl Into<egui::WidgetText>) -> Button {
Button::new(text.into()).frame(false)
}
// returned at the end of this function to indicate whether or not this function should be removed from where it's stored
let mut should_remove: bool = false;
buttons_area.show(ui.ctx(), |ui| {
ui.horizontal(|ui| {
// There's more than 1 function! Functions can now be deleted