From 7ab2b20bd5424826010fc3df15da60ad37c3386d Mon Sep 17 00:00:00 2001 From: Kacpherek Date: Tue, 27 Oct 2026 18:43:58 +0100 Subject: [PATCH] Let mouse buttons toggle cinematic camera --- crates/horizon-client/src/game.rs | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/crates/horizon-client/src/game.rs b/crates/horizon-client/src/game.rs index 8e591cf3b..6b37df419 100644 --- a/crates/horizon-client/src/game.rs +++ b/crates/horizon-client/src/game.rs @@ -12916,6 +12916,12 @@ impl ApplicationHandler for Game<'_> { } self.extras_mouse(button, pressed); self.mod_mouse_key(button, pressed); + if pressed + && self.settings.keys.get("key.smoothCamera") + == horizon_client::keybinds::mouse_name(button) + { + self.smooth_camera = !self.smooth_camera; + } for mapped in self.settings.keys.translate_mouse_all(button) { match mapped { Err(b) => self.play_mouse(b, pressed)?,