mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-17 17:43:52 +00:00
feat: implement TOGGLE_INVENTORY keybinding for I key in game_screen
- Add inventory window toggle on I key press - Integrates with keybinding manager system for customizable inventory key
This commit is contained in:
parent
332c2f6d3f
commit
f3415c2aff
1 changed files with 4 additions and 0 deletions
|
|
@ -1471,6 +1471,10 @@ void GameScreen::processTargetInput(game::GameHandler& gameHandler) {
|
||||||
}
|
}
|
||||||
|
|
||||||
// Toggle nameplates (customizable keybinding, default V)
|
// Toggle nameplates (customizable keybinding, default V)
|
||||||
|
if (KeybindingManager::getInstance().isActionPressed(KeybindingManager::Action::TOGGLE_INVENTORY)) {
|
||||||
|
inventoryScreen.toggle();
|
||||||
|
}
|
||||||
|
|
||||||
if (KeybindingManager::getInstance().isActionPressed(KeybindingManager::Action::TOGGLE_NAMEPLATES)) {
|
if (KeybindingManager::getInstance().isActionPressed(KeybindingManager::Action::TOGGLE_NAMEPLATES)) {
|
||||||
showNameplates_ = !showNameplates_;
|
showNameplates_ = !showNameplates_;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue