Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Double tap to quick swap to last used item #157

Open
soupglasses opened this issue Jul 3, 2023 · 0 comments
Open

Double tap to quick swap to last used item #157

soupglasses opened this issue Jul 3, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@soupglasses
Copy link

Is your feature request related to a problem?

I have both a sword and a bow with me at all times. But in combat it can become very panic inducing trying to scroll trough my list of weapon items when in combat.

Describe the solution you'd like

When quickly double tapping the key, select "last used" for that inventory slot. This can let it be quickly swapped between two commonly used items. For example a sword and a bow, silk-touch and fortune pickaxe.

Describe alternatives you've considered

Scrolling to find the correct item in the list. Can become tedious if the items you commonly swap between are not close together in the list.

Additional context

First time trying the mod and tried to double click to quick swap.

@soupglasses soupglasses added the enhancement New feature or request label Jul 3, 2023
tr7zw added a commit that referenced this issue Jul 16, 2024
Related to #157

Implement double tap to quick swap to last used item feature
* Add `doubleTapQuickSwap` setting to `Config` class with default value `true`
* Add `doubleTapQuickSwap` option to `ConfigScreenProvider` class
* Add logic in `ItemSwapperSharedMod` class to handle double tapping the key to select the last used item
* Add entries for `doubleTapQuickSwap` in the language file `en_us.json`

---

For more details, open the [Copilot Workspace session](https://copilot-workspace.githubnext.com/tr7zw/ItemSwapper/issues/157?shareId=85eeae22-e94f-4189-859c-a7d97bc512d1).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant