[PR #637] [MERGED] Support mouse buttons for Extras sorting and zoom #2688

Closed
opened 2026-11-02 15:58:15 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/637
Author: @Online5277
Created: 10/17/2026
Status: ✅ Merged
Merged: 10/17/2026
Merged by: @ludovic111

Base: main ← Head: fix/extras-mouse-bindings


📝 Commits (1)

  • b2f0af5 Accept and handle mouse bindings for Extras

📊 Changes

6 files changed (+100 additions, -24 deletions)

View changed files

📝 crates/horizon-client/src/game.rs (+3 -0)
📝 crates/horizon-client/src/game/extras.rs (+5 -1)
📝 crates/horizon-client/src/game/options.rs (+3 -8)
📝 crates/horizon-client/src/game/tweaks.rs (+8 -2)
📝 crates/horizon-client/src/options_horizon.rs (+9 -2)
📝 crates/horizon-client/src/options_ui.rs (+72 -11)

📄 Description

Extras now accepts mouse buttons for Sort Key and Zoom Key. Previously its mouse-click path canceled the pending binding, and sorting only handled keyboard input even if a mouse binding was saved by hand.

Use the shared binding path for keyboard, mouse, Classic and Horizon screens, retaining the existing settings files and Changed/save/apply events. Mouse presses can now trigger inventory sorting, and mouse-bound zoom responds to press/release during gameplay.

Fixes #581.

Validation: 19 options UI tests passed (one existing language-data test ignored), including all five common mouse buttons, Extras persistence, vanilla bindings, and consuming the rebind click. Client all-target Clippy with warnings denied, formatting, and diff checks passed.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/horizon-rust/horizon/pull/637 **Author:** [@Online5277](https://github.com/Online5277) **Created:** 10/17/2026 **Status:** ✅ Merged **Merged:** 10/17/2026 **Merged by:** [@ludovic111](https://github.com/ludovic111) **Base:** `main` ← **Head:** `fix/extras-mouse-bindings` --- ### 📝 Commits (1) - [`b2f0af5`](https://github.com/horizon-rust/horizon/commit/b2f0af559b3244dc07caedd1cfcbd33b0cc92bb1) Accept and handle mouse bindings for Extras ### 📊 Changes **6 files changed** (+100 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game.rs` (+3 -0) 📝 `crates/horizon-client/src/game/extras.rs` (+5 -1) 📝 `crates/horizon-client/src/game/options.rs` (+3 -8) 📝 `crates/horizon-client/src/game/tweaks.rs` (+8 -2) 📝 `crates/horizon-client/src/options_horizon.rs` (+9 -2) 📝 `crates/horizon-client/src/options_ui.rs` (+72 -11) </details> ### 📄 Description Extras now accepts mouse buttons for Sort Key and Zoom Key. Previously its mouse-click path canceled the pending binding, and sorting only handled keyboard input even if a mouse binding was saved by hand. Use the shared binding path for keyboard, mouse, Classic and Horizon screens, retaining the existing settings files and Changed/save/apply events. Mouse presses can now trigger inventory sorting, and mouse-bound zoom responds to press/release during gameplay. Fixes #581. Validation: 19 options UI tests passed (one existing language-data test ignored), including all five common mouse buttons, Extras persistence, vanilla bindings, and consuming the rebind click. Client all-target Clippy with warnings denied, formatting, and diff checks passed. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-02 15:58:15 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#2688
No description provided.