Skip to content

Commit

Permalink
refactor(window/win): make back/forward gesture navigation configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
jwerle committed Aug 22, 2024
1 parent 4caf2a4 commit 1af17c7
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/window/win.cc
Original file line number Diff line number Diff line change
Expand Up @@ -832,7 +832,9 @@ namespace SSC {
settings3->put_AreBrowserAcceleratorKeysEnabled(wantsDebugMode);

settings6->put_IsPinchZoomEnabled(false);
settings6->put_IsSwipeNavigationEnabled(false);
settings6->put_IsSwipeNavigationEnabled(
this->bridge.userConfig["webview_navigator_enable_navigation_destures"] == "true"
);

settings9->put_IsNonClientRegionSupportEnabled(true);
} while (0);
Expand Down

0 comments on commit 1af17c7

Please sign in to comment.