mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-04-26 21:13:51 +00:00
fix(ui): avoid double-processing bag toggle hotkey
This commit is contained in:
parent
2c32b72f95
commit
f7a996ab26
1 changed files with 0 additions and 8 deletions
|
|
@ -2346,14 +2346,6 @@ void GameScreen::processTargetInput(game::GameHandler& gameHandler) {
|
||||||
inventoryScreen.toggle();
|
inventoryScreen.toggle();
|
||||||
}
|
}
|
||||||
|
|
||||||
if (KeybindingManager::getInstance().isActionPressed(KeybindingManager::Action::TOGGLE_BAGS)) {
|
|
||||||
if (inventoryScreen.isSeparateBags()) {
|
|
||||||
inventoryScreen.openAllBags();
|
|
||||||
} else {
|
|
||||||
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