mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-05-02 01:08:48 +00:00
LibWebView: Add an option to disable painting viewport scrollbars
This commit is contained in:
parent
639ed5a052
commit
dd819d1dea
Notes:
github-actions[bot]
2025-01-15 12:35:09 +00:00
Author: https://github.com/tcl3
Commit: dd819d1dea
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/2962
Reviewed-by: https://github.com/AtkinsSJ ✅
3 changed files with 11 additions and 0 deletions
|
@ -110,6 +110,8 @@ ErrorOr<NonnullRefPtr<WebView::WebContentClient>> launch_web_content_process(
|
|||
arguments.append("--collect-garbage-on-every-allocation"sv);
|
||||
if (web_content_options.is_headless == WebView::IsHeadless::Yes)
|
||||
arguments.append("--headless"sv);
|
||||
if (web_content_options.paint_viewport_scrollbars == PaintViewportScrollbars::No)
|
||||
arguments.append("--disable-scrollbar-painting"sv);
|
||||
|
||||
if (auto const maybe_echo_server_port = web_content_options.echo_server_port; maybe_echo_server_port.has_value()) {
|
||||
arguments.append("--echo-server-port"sv);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue