LibWeb: Don't show unnecessary scrollbars in WebContentView

This behaves a little weird right now, and will probably require more
coordination between the widget and the WebContent process.
This commit is contained in:
Andreas Kling 2020-07-06 22:02:38 +02:00
parent 9169c8ca94
commit 56126d7a45
Notes: sideshowbarker 2024-07-19 05:06:01 +09:00

View File

@ -33,6 +33,7 @@
WebContentView::WebContentView()
{
set_should_hide_unnecessary_scrollbars(true);
m_client = WebContentClient::construct(*this);
client().post_message(Messages::WebContentServer::UpdateSystemTheme(Gfx::current_system_theme_buffer_id()));
}