format code

This commit is contained in:
WanderingPenwing 2024-02-07 14:47:29 +01:00
parent 69fd6fdda2
commit 3cfbca21c0
2 changed files with 211 additions and 210 deletions

BIN
custom builds/calcifer Executable file

Binary file not shown.

View file

@ -29,7 +29,7 @@ const MAX_FPS: f32 = 30.0;
const DISPLAY_PATH_DEPTH: usize = 3; const DISPLAY_PATH_DEPTH: usize = 3;
const MAX_TABS: usize = 20; const MAX_TABS: usize = 20;
const MAX_PROJECT_COLUMNS: usize = 8; const MAX_PROJECT_COLUMNS: usize = 8;
const RUNNING_COMMAND_REFRESH_DELAY: f32 = 0.2; const RUNNING_COMMAND_REFRESH_DELAY: f32 = 0.1;
fn main() -> Result<(), eframe::Error> { fn main() -> Result<(), eframe::Error> {
let icon_data = core::load_icon().unwrap_or_default(); let icon_data = core::load_icon().unwrap_or_default();
@ -277,6 +277,7 @@ impl eframe::App for Calcifer {
} }
} }
//save path
fn save_path() -> PathBuf { fn save_path() -> PathBuf {
if TITLE.is_empty() { if TITLE.is_empty() {
get_my_home() get_my_home()