From 937353e5b2838e1c27e7c4bb0f9875b97196a119 Mon Sep 17 00:00:00 2001 From: Jamie Ridding Date: Mon, 19 Aug 2024 04:25:36 +0100 Subject: [PATCH] I forgot to run cargo fmt -_- Signed-off-by: Jamie Ridding --- src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/lib.rs b/src/lib.rs index 19d01dc34..114c1f060 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -238,10 +238,10 @@ pub use wkwebview::{PrintMargin, PrintOptions}; #[cfg(target_os = "windows")] pub(crate) mod webview2; #[cfg(target_os = "windows")] -use self::webview2::*; -#[cfg(target_os = "windows")] pub use self::webview2::ScrollBarStyle; #[cfg(target_os = "windows")] +use self::webview2::*; +#[cfg(target_os = "windows")] use webview2_com::Microsoft::Web::WebView2::Win32::ICoreWebView2Controller; use std::{borrow::Cow, path::PathBuf, rc::Rc}; @@ -1147,9 +1147,9 @@ pub trait WebViewBuilderExtWindows { /// Specifies the native scrollbar style to use with webview2. /// CSS styles that modify the scrollbar are applied on top of the native appearance configured here. - /// + /// /// Defaults to [`ScrollbarStyle::Default`] which is the browser default used by Microsoft Edge. - /// + /// /// Requires WebView2 Runtime version 125.0.2535.41 or higher, does nothing on older versions, /// see https://learn.microsoft.com/en-us/microsoft-edge/webview2/release-notes/?tabs=dotnetcsharp#10253541 fn with_scroll_bar_style(self, style: ScrollBarStyle) -> Self;