Have TextBuffer own FontMatches
This commit is contained in:
parent
1c341f3126
commit
0f446368ca
5 changed files with 42 additions and 49 deletions
|
|
@ -86,7 +86,7 @@ fn main() {
|
|||
let font_size_default = 1; // Body
|
||||
|
||||
let mut buffer = TextBuffer::new(
|
||||
&font_matches,
|
||||
font_matches,
|
||||
font_sizes[font_size_default]
|
||||
);
|
||||
buffer.set_size(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue