mirror of
https://github.com/Kelsidavis/WoWee.git
synced 2026-03-22 23:30:14 +00:00
fix: correct minimap orientation and arrow direction, compact key ring UI
Remove stray X-flip in minimap display shader that mirrored the map horizontally (West on right instead of East). Fix arrow rotation fallback path (missing negation) and add character-facing-relative arrow in rotateWithCamera mode. Compact key ring: 24px slots in 8-column grid, only show rows with items, hide when empty. Add Show Key Ring toggle in Settings with persistence.
This commit is contained in:
parent
e38324619e
commit
203514abc7
7 changed files with 63 additions and 38 deletions
|
|
@ -39,6 +39,8 @@ public:
|
|||
bool isSeparateBags() const { return separateBags_; }
|
||||
void toggleCompactBags() { compactBags_ = !compactBags_; }
|
||||
bool isCompactBags() const { return compactBags_; }
|
||||
void setShowKeyring(bool show) { showKeyring_ = show; }
|
||||
bool isShowKeyring() const { return showKeyring_; }
|
||||
bool isBackpackOpen() const { return backpackOpen_; }
|
||||
bool isBagOpen(int idx) const { return idx >= 0 && idx < 4 ? bagOpen_[idx] : false; }
|
||||
|
||||
|
|
@ -79,6 +81,7 @@ private:
|
|||
bool bKeyWasDown = false;
|
||||
bool separateBags_ = true;
|
||||
bool compactBags_ = false;
|
||||
bool showKeyring_ = true;
|
||||
bool backpackOpen_ = false;
|
||||
std::array<bool, 4> bagOpen_{};
|
||||
bool cKeyWasDown = false;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue