Skip to content

Commit

Permalink
refactor(window/apple): make back/forward gesture navigation configur…
Browse files Browse the repository at this point in the history
…able
  • Loading branch information
jwerle committed Aug 22, 2024
1 parent 88114f3 commit 4caf2a4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/window/apple.mm
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,10 @@ - (void) scrollViewDidScroll: (UIScrollView*) scrollView {
];
#endif

this->webview.allowsBackForwardNavigationGestures = (
userConfig["webview_navigator_enable_navigation_gestures"] == "true"
);

this->webview.UIDelegate = webview;
this->webview.layer.opaque = NO;

Expand Down

0 comments on commit 4caf2a4

Please sign in to comment.