Desktop: Forward and Backward mouse button support (#3472)

forward and backward mouse button support
This commit is contained in:
Timon
2025-12-15 11:45:26 +00:00
committed by GitHub
parent 7532bd7260
commit e44f993095
4 changed files with 40 additions and 10 deletions
+1 -1
View File
@@ -45,7 +45,7 @@ pub(crate) fn handle_window_event(browser: &Browser, input_state: &mut InputStat
MouseButton::Left => cef::MouseButtonType::from(cef_mouse_button_type_t::MBT_LEFT),
MouseButton::Right => cef::MouseButtonType::from(cef_mouse_button_type_t::MBT_RIGHT),
MouseButton::Middle => cef::MouseButtonType::from(cef_mouse_button_type_t::MBT_MIDDLE),
_ => return, //TODO: Handle Forward and Back button
_ => return,
};
let Some(host) = browser.host() else { return };