Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix the middle mouse button with Qt
  • Loading branch information
ogoffart committed Oct 8, 2021
1 parent 85772d5 commit b0c87cb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sixtyfps_runtime/rendering_backends/qt/qt_window.rs
Expand Up @@ -345,7 +345,7 @@ fn from_qt_button(qt_button: u32) -> PointerEventButton {
match qt_button {
1 => PointerEventButton::left,
2 => PointerEventButton::right,
3 => PointerEventButton::middle,
4 => PointerEventButton::middle,
_ => PointerEventButton::none,
}
}
Expand Down

0 comments on commit b0c87cb

Please sign in to comment.