Cargo format

This commit is contained in:
Kenny Levinsen
2025-02-27 14:48:41 +01:00
parent 9031361dd1
commit 40aec97f79
8 changed files with 89 additions and 44 deletions
+5 -1
View File
@@ -44,7 +44,11 @@ impl Calendar {
fm.queue_font(font, size * DAY_FACTOR, "ADEFHIMNORSTUW");
fm.queue_font(font, size * YEAR_FACTOR, "0123456789");
fm.queue_font(font, size * DATE_FACTOR, "0123456789");
fm.queue_font(month_font, size * MONTH_FACTOR, "ADFJMNOSabcehgilmnoprstuvy");
fm.queue_font(
month_font,
size * MONTH_FACTOR,
"ADFJMNOSabcehgilmnoprstuvy",
);
Calendar {
font,
+2 -2
View File
@@ -16,7 +16,7 @@ use crate::{
fonts::FontMap,
keyboard::{keysyms, KeyEvent},
utils::{
desktop::{load_desktop_files, load_desktop_cache, write_desktop_cache, Desktop},
desktop::{load_desktop_cache, load_desktop_files, write_desktop_cache, Desktop},
xdg,
},
widgets::{Geometry, Widget},
@@ -615,7 +615,7 @@ impl Interface {
fm: &mut FontMap,
font: &'static str,
size: f32,
launch_cmd: Option<String>
launch_cmd: Option<String>,
) -> Interface {
fm.queue_font(
font,
-1
View File
@@ -281,4 +281,3 @@ impl Layout for Margin {
}
}
}