Skip to content

Commit

Permalink
update the mouse button conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Mar 22, 2024
1 parent 19aaa6d commit e003361
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/conversions.rs
Original file line number Diff line number Diff line change
Expand Up @@ -331,9 +331,8 @@ pub fn mouse_button(button: MouseButton) -> iced_core::mouse::Button {
MouseButton::Right => Button::Right,
MouseButton::Middle => Button::Middle,
MouseButton::Other(val) => Button::Other(val),
// TODO: We need https://github.com/iced-rs/iced/pull/2169
MouseButton::Back => todo!(),
MouseButton::Forward => todo!(),
MouseButton::Back => Button::Back,
MouseButton::Forward => Button::Forward,
}
}

Expand Down

0 comments on commit e003361

Please sign in to comment.