feat: upgrade wry
This commit is contained in:
1 parent
b8c739826a
commit
8ab1c4d0de
4 files changed
+4
-9
No files matched your search
@@ -191,7 +191,7 @@ pub(super) fn handler(
|
||||
SetTitle(content) => window.set_title(&content),
|
||||
SetDecorations(state) => window.set_decorations(state),
|
||||
|
||||
DevTool => webview.devtool(),
|
||||
DevTool => {}
|
||||
|
||||
Eval(code) => webview
|
||||
.evaluate_script(code.as_str())
|
||||
|
||||
@@ -200,7 +200,7 @@ pub fn launch_with_props<P: 'static + Send>(
|
||||
)
|
||||
} else {
|
||||
// in debug, we are okay with the reload menu showing and dev tool
|
||||
webview = webview.with_dev_tool(true);
|
||||
webview = webview.with_devtools(true);
|
||||
}
|
||||
|
||||
desktop.webviews.insert(window_id, webview.build().unwrap());
|
||||
|
||||
Reference in new issue
Block a user