upgrade cargo dependencies

This commit is contained in:
2025-12-04 18:46:46 -05:00
parent 134f11c628
commit d6cb0fba1a
7 changed files with 183 additions and 248 deletions

View File

@@ -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(),
));
}