Remove monospaced from attrs

This commit is contained in:
Jeremy Soller 2023-03-30 08:04:52 -06:00
parent 521acb64e0
commit 3c7dc1f657
No known key found for this signature in database
GPG key ID: DCFCA852D3906975
5 changed files with 17 additions and 29 deletions

View file

@ -73,7 +73,7 @@ fn main() {
.buffer_mut()
.set_size(window.width() as f32 - line_x * 2.0, window.height() as f32);
let attrs = Attrs::new().monospaced(true).family(Family::Monospace);
let attrs = Attrs::new().family(Family::Monospace);
match editor.load_text(&path, attrs) {
Ok(()) => (),
Err(err) => {