feat: Allow navigating with gestures

Resolved #81
This commit is contained in:
pan93412
2022-11-20 12:26:09 +08:00
parent 79d0724da3
commit 59a3a74d7b

View File

@@ -171,6 +171,7 @@ fn main() -> wry::Result<()> {
.with_devtools(cfg!(feature = "devtools")) .with_devtools(cfg!(feature = "devtools"))
.with_initialization_script(include_str!("pake.js")) .with_initialization_script(include_str!("pake.js"))
.with_ipc_handler(handler) .with_ipc_handler(handler)
.with_back_forward_navigation_gestures(true)
.build()?; .build()?;