upgrade cargo dependencies
This commit is contained in:
@@ -1,6 +1,4 @@
|
||||
use crate::{
|
||||
consts::COLORS, function_entry::FunctionEntry, misc::random_u64, widgets::widgets_ontop,
|
||||
};
|
||||
use crate::{consts::COLORS, function_entry::FunctionEntry, widgets::widgets_ontop};
|
||||
use egui::{Button, Id, Key, Modifiers, PopupCloseBehavior, TextEdit, WidgetText};
|
||||
use emath::vec2;
|
||||
use parsing::Movement;
|
||||
@@ -256,7 +254,7 @@ impl FunctionManager {
|
||||
/// Create and push new empty function entry
|
||||
pub fn push_empty(&mut self) {
|
||||
self.functions.push((
|
||||
Id::new(random_u64().expect("unable to generate random id")),
|
||||
Id::new(format!("function #{}", self.functions.len() + 1)),
|
||||
FunctionEntry::default(),
|
||||
));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user