Update version properly when FontSystem changes in text::editor
This commit is contained in:
parent
b5466f41ca
commit
61ef8f3249
1 changed files with 3 additions and 0 deletions
|
|
@ -472,6 +472,9 @@ impl editor::Editor for Editor {
|
|||
for line in internal.editor.buffer_mut().lines.iter_mut() {
|
||||
line.reset();
|
||||
}
|
||||
|
||||
internal.version = font_system.version();
|
||||
internal.topmost_line_changed = Some(0);
|
||||
}
|
||||
|
||||
if new_font != internal.font {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue