mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-11 10:41:30 +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
Notes:
sideshowbarker
2024-07-19 05:06:01 +09:00
Author: https://github.com/awesomekling
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