New TextMetrics type
This commit is contained in:
parent
fa8ed07dab
commit
de572b1645
4 changed files with 103 additions and 116 deletions
|
|
@ -116,8 +116,8 @@ where
|
|||
|
||||
let buffer = self.buffer.lock().unwrap();
|
||||
|
||||
let font_size = buffer.font_size();
|
||||
let line_height = buffer.line_height();
|
||||
let font_size = buffer.metrics().font_size;
|
||||
let line_height = buffer.metrics().line_height;
|
||||
|
||||
let instant = Instant::now();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue