Make router work on web
This commit is contained in:
51 files changed
+110
-98
No files matched your search
@@ -14,7 +14,7 @@ fn app() -> Element {
|
||||
oninput: move |e| {
|
||||
if let Ok(new_zoom) = e.value().parse::<f64>() {
|
||||
level.set(new_zoom);
|
||||
dioxus_desktop::window().webview.zoom(new_zoom);
|
||||
dioxus::desktop::window().webview.zoom(new_zoom);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user