Remove unnecessary monospaced flag in Font

This commit is contained in:
Héctor Ramón Jiménez 2023-09-18 19:24:09 +02:00
parent 161a971d06
commit 8eec0033de
No known key found for this signature in database
GPG key ID: 7CC46565708259A7
2 changed files with 1 additions and 8 deletions

View file

@ -16,10 +16,7 @@ use std::sync::Arc;
pub fn main() -> iced::Result {
Editor::run(Settings {
fonts: vec![include_bytes!("../fonts/icons.ttf").as_slice().into()],
default_font: Font {
monospaced: true,
..Font::with_name("Hasklug Nerd Font Mono")
},
default_font: Font::with_name("Hasklug Nerd Font Mono"),
..Settings::default()
})
}