expose wry background color option

This commit is contained in:
Evan Almloff committed 2023-06-24 10:25:24 -07:00
1 parent 11c9abcf7c
commit 1e5c220736
2 files changed
+14

No files matched your search

+4
View File
@@ -64,6 +64,10 @@ pub fn build(
webview = webview.with_browser_accelerator_keys(false);
}
if let Some(color) = cfg.background_color {
webview = webview.with_background_color(color);
}
// These are commented out because wry is currently broken in wry
// let mut web_context = WebContext::new(cfg.data_dir.clone());
// .with_web_context(&mut web_context);