mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 16:15:10 +00:00
parent
cdcab7e5f4
commit
aaaf04f393
1 changed files with 2 additions and 0 deletions
|
@ -1351,6 +1351,8 @@ void GTextEditor::add_custom_context_menu_action(GAction& action)
|
||||||
void GTextEditor::did_change_font()
|
void GTextEditor::did_change_font()
|
||||||
{
|
{
|
||||||
vertical_scrollbar().set_step(line_height());
|
vertical_scrollbar().set_step(line_height());
|
||||||
|
recompute_all_visual_lines();
|
||||||
|
update();
|
||||||
GWidget::did_change_font();
|
GWidget::did_change_font();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue