- As described above, by putting the focus in the right place when we create the dialog, we effectively enable the engine functionality of selecting an inventory item by typing its list letter. If you move the focus somewhere else with the mouse, you're on your own.
- I don't know when this was lost, but I used to love the ability to move between the equipment and inventory sections of the inventory dialog with the left and right arrow keys, because it let me easily select an equipment item to activate without using the mouse. That's back now.
- Similarly, we restore the lost "wrap-around" functionality of inventory lists, so that moving down from the last item on the list will wrap around to the top and vice versa.
As always, I'm putting this out for beta testing and suggestions before possible merging into ZOmnibus.
[edit 2013-10-31 10:25pm] Technical info:
Code: Select all
Superload: mod.dialogs.ShowInventory: init() [to allow wraparound and put focus on the list] mod.dialogs.ShowEquipInven: init() [as above] mod.dialogs.UseItemDialog: init() [to catch mnemonic keys and invoke corresponding actions] on_register() [to make the preceding actually work] generateList() [to add action mnemonics]