Remove monospaced from attrs
This commit is contained in:
parent
521acb64e0
commit
3c7dc1f657
5 changed files with 17 additions and 29 deletions
|
|
@ -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) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue