Akirane/XIVHotbar

Field and Battle bars swapped with last update

Closed this issue · 2 comments

Hello there!

Thank you for updating this amazing addon.

It seems that the UI text for "1" (Field) and "2" (Battle) are swapped.
When setting actions to the Battle hotbar (e.g. {'battle 1 1', 'ma', 'Head butt', 't', ''}), it'll be assigned to the "1" hotbar instead of the "2" hotbar.

Let me know if I'm just being confused or doing it wrong.

I just tried again and "1" is default hotbar and it displays "Battle" actions.

My confusion comes from this bit in the UI.lua:

    self.active_environment['field']:text('1')
    self.active_environment['battle']:text('2'

It says that "1" should be Field instead of Battle. I could rename Battle environment as "1" but I just wanted to report it in case this is not intended.