calc: Improve history
This commit is contained in:
+1
-2
@@ -119,11 +119,10 @@ fn main() {
|
||||
|
||||
let mut fm = FontMap::new();
|
||||
|
||||
// Todo: Cache in a file
|
||||
// TODO: Cache in a file
|
||||
fm.add_font_path("sans", "/usr/share/fonts/noto/NotoSans-Regular.ttf".to_string());
|
||||
fm.add_font_path("monospace", "/usr/share/fonts/noto/NotoSansMono-Regular.ttf".to_string());
|
||||
|
||||
|
||||
let (widgets, layout): (Vec<Box<dyn Widget>>, Rc<Box<dyn Layout>>) = match version {
|
||||
UIVersion::V1 => {
|
||||
let clock = Box::new(Clock::new(&mut fm, "sans", 256.));
|
||||
|
||||
Reference in New Issue
Block a user