Merge https://github.com/DioxusLabs/dioxus into jk/rsx-refactor
This commit is contained in:
commit
71d31556e5
7 files changed
+31
-21
No files matched your search
@@ -212,7 +212,12 @@ pub(super) fn handler(
|
||||
log::warn!("Open print modal failed: {e}");
|
||||
}
|
||||
}
|
||||
DevTool => webview.open_devtools(),
|
||||
DevTool => {
|
||||
#[cfg(debug_assertions)]
|
||||
webview.open_devtools();
|
||||
#[cfg(not(debug_assertions))]
|
||||
log::warn!("Devtools are disabled in release builds");
|
||||
}
|
||||
|
||||
Eval(code) => {
|
||||
if let Err(e) = webview.evaluate_script(code.as_str()) {
|
||||
|
||||
Reference in new issue
Block a user