mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
GTextEditor: Hide the horizontal scrollbar when line-wrapping is on
This commit is contained in:
parent
906582d8df
commit
77a58119e7
1 changed files with 1 additions and 0 deletions
|
@ -1419,6 +1419,7 @@ void GTextEditor::set_line_wrapping_enabled(bool enabled)
|
|||
return;
|
||||
|
||||
m_line_wrapping_enabled = enabled;
|
||||
horizontal_scrollbar().set_visible(!m_line_wrapping_enabled);
|
||||
update_content_size();
|
||||
recompute_all_visual_lines();
|
||||
update();
|
||||
|
|
Loading…
Add table
Reference in a new issue