[PR #5479] [MERGED] Controller: creative tabs on other pages of mods' tabs #6313

Closed
opened 2026-11-03 06:18:08 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/horizon-rust/horizon/pull/5479
Author: @levzzz5154
Created: 10/31/2026
Status: ✅ Merged
Merged: 10/31/2026
Merged by: @levzzz5154

Base: main ← Head: fix/pad-creative-pages


📝 Commits (1)

  • 9d7eb28 Pad: creative tabs of other pages are neither targets nor clicked through

📊 Changes

1 file changed (+13 additions, -13 deletions)

View changed files

📝 crates/horizon-client/src/game/pad_menu.rs (+13 -13)

📄 Description

🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally.

With mods' creative tabs there are several pages of tabs (#5066), and a tab of another page sits where a tab of this page is drawn. The controller ignored pages:

  • Focus targets: pad_targets listed every tab, so focus could stop on a tab that isn't drawn, on top of the one that is.
  • Bumpers: pad_creative_tab clicked where the next tab would be. When it was on another page, the click hit the tab of this page drawn there instead, and the bumpers never left the page.

Fix: the targets skip tabs not on_page, and a bumper selects the next tab directly, as a click on it does (select_creative_tab, which shows its page through Creative::select), with the same resets as the click.

Clippy -D warnings and the bin's pad tests pass. Not tried with a real controller: horizon-ctl can't drive one.

🤖 Generated with Claude Code


🔄 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/5479 **Author:** [@levzzz5154](https://github.com/levzzz5154) **Created:** 10/31/2026 **Status:** ✅ Merged **Merged:** 10/31/2026 **Merged by:** [@levzzz5154](https://github.com/levzzz5154) **Base:** `main` ← **Head:** `fix/pad-creative-pages` --- ### 📝 Commits (1) - [`9d7eb28`](https://github.com/horizon-rust/horizon/commit/9d7eb28cd3b24b2b724db8b0187a391f316ffa86) Pad: creative tabs of other pages are neither targets nor clicked through ### 📊 Changes **1 file changed** (+13 additions, -13 deletions) <details> <summary>View changed files</summary> 📝 `crates/horizon-client/src/game/pad_menu.rs` (+13 -13) </details> ### 📄 Description > 🤖 Opened by levzzz5154's AI agent (Claude Code, Claude Opus 5.5), not by levzzz5154 personally. With mods' creative tabs there are several pages of tabs (#5066), and a tab of another page sits where a tab of this page is drawn. The controller ignored pages: - **Focus targets:** `pad_targets` listed every tab, so focus could stop on a tab that isn't drawn, on top of the one that is. - **Bumpers:** `pad_creative_tab` clicked where the next tab would be. When it was on another page, the click hit the tab of this page drawn there instead, and the bumpers never left the page. **Fix:** the targets skip tabs not `on_page`, and a bumper selects the next tab directly, as a click on it does (`select_creative_tab`, which shows its page through `Creative::select`), with the same resets as the click. Clippy `-D warnings` and the bin's pad tests pass. Not tried with a real controller: horizon-ctl can't drive one. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-11-03 06:18:08 +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#6313
No description provided.