Skip to content

Add setting to toggle camera jump when selecting items in Contents tab#36

Open
neachi wants to merge 1 commit into
bbradson:mainfrom
neachi:camera-jump-toggle
Open

Add setting to toggle camera jump when selecting items in Contents tab#36
neachi wants to merge 1 commit into
bbradson:mainfrom
neachi:camera-jump-toggle

Conversation

@neachi

@neachi neachi commented Jul 19, 2026

Copy link
Copy Markdown

Description

Currently, selecting an item in the storage's Contents tab forces the camera to jump to the item's location. While this is useful, it can sometimes be frustrating when a player wants to select items to inspect them or build things nearby while keeping the camera focused on a specific area.

This PR introduces a new setting: Jump camera to selected items (enabled by default to preserve vanilla behavior). When disabled, selecting items from the Contents tab will only select/focus on the item without jumping the camera.

Changes

  • Added ASF_JumpToItemsOnSelect and ASF_JumpToItemsOnSelectDescription settings.
  • Modified ContentsITab.TrySelectAndJump() to select items using Find.Selector without moving the camera when the setting is disabled.

@bbradson

Copy link
Copy Markdown
Owner

Looks like a pretty simple change. How much was AI involved here? I see the new branch starts with a call to ClearSelection(), does this differ from usual shift click behaviour?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants