Skip to content

Add mouse back and forward navigation - #4038

Open
SychicBoy wants to merge 1 commit into
icsharpcode:masterfrom
SychicBoy:fix-4027-mouse-navigation
Open

Add mouse back and forward navigation#4038
SychicBoy wants to merge 1 commit into
icsharpcode:masterfrom
SychicBoy:fix-4027-mouse-navigation

Conversation

@SychicBoy

Copy link
Copy Markdown
Contributor

Fixes #4027

Problem

Mouse4 and Mouse5 worked as back and forward navigation in the WPF version of ILSpy, but this behavior was not carried over to the Avalonia UI.

The Avalonia implementation currently wires the existing navigation commands to Alt+Left and Alt+Right only. XButton1 and XButton2 are available through Avalonia's pointer input API, but there is no equivalent KeyBinding declaration for these mouse buttons.

Solution

  • Handle XButton1 and XButton2 through MainWindow and route them to the existing back and forward navigation commands.

Handle XButton1 and XButton2 at the main window and route them through
the existing back and forward navigation commands.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Mouse4 and Mouse5 no longer work as back and forward.

1 participant