mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 18:18:12 +00:00
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:
parent
9169c8ca94
commit
56126d7a45
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@
|
||||||
|
|
||||||
WebContentView::WebContentView()
|
WebContentView::WebContentView()
|
||||||
{
|
{
|
||||||
|
set_should_hide_unnecessary_scrollbars(true);
|
||||||
m_client = WebContentClient::construct(*this);
|
m_client = WebContentClient::construct(*this);
|
||||||
client().post_message(Messages::WebContentServer::UpdateSystemTheme(Gfx::current_system_theme_buffer_id()));
|
client().post_message(Messages::WebContentServer::UpdateSystemTheme(Gfx::current_system_theme_buffer_id()));
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue