Scroll on cursor movement
This commit is contained in:
parent
3e04ffdfa4
commit
a599d83ca0
2 changed files with 24 additions and 7 deletions
|
|
@ -73,7 +73,7 @@ where
|
|||
) {
|
||||
let buffer = self.buffer.read().unwrap();
|
||||
let font_size = buffer.font_size();
|
||||
let line_height = font_size + 8; /*TODO: store somewhere else */
|
||||
let line_height = buffer.line_height();
|
||||
|
||||
let instant = Instant::now();
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue