Skip to content

Commit

Permalink
UniversalBackForward: Convert side buttons to swipe gestures in Opera (
Browse files Browse the repository at this point in the history
…#483)

Opera's default actions for handling side buttons are not meeting our
expectations. Therefore, we should convert the side buttons to swipe
gestures when universal back and forward is enabled, in order to fix
this issue.

Closes #479.
  • Loading branch information
lujjjh committed Jun 1, 2023
1 parent abf7577 commit c1eb80e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ class UniversalBackForwardTransformer: EventTransformer {
private static let includes = [
"com.apple.*",
"com.binarynights.ForkLift*",
"org.mozilla.firefox"
"org.mozilla.firefox",
"com.operasoftware.Opera"
]

private let interestedButtons: Set<CGMouseButton>
Expand Down

0 comments on commit c1eb80e

Please sign in to comment.