Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switching inventories #46

Open
Infernus444 opened this issue Jun 11, 2015 · 1 comment
Open

Switching inventories #46

Infernus444 opened this issue Jun 11, 2015 · 1 comment

Comments

@Infernus444
Copy link

When you switch to another inventory, the scroller is at the same position of the first inventory.

http://gyazo.com/d29be7ff2c324aa86efab019ff1a4661
(Main inventory, scroller at top)

http://gyazo.com/ee8f6a3f3f80b25de61490aa5d94072d
(Second inventory, accessed via quick key, scroller at top)

http://gyazo.com/6335a8eae4e6f1e46241b685d0462076
(Main inventory, scroller at bottom)

http://gyazo.com/fe472bf5c333112d28557fa1f8495ac5
(Second inventory, accessed via quick key, scroller at bottom)

So, if you access another inventory if your scroller from main inventory is below the topmost position, the second inventory will jump to that position (With no scroller, making it impossible to go up). Works with every inventory (0 - 20)

The fix would be to reset the view to the top list for every inventory switch.

Took me 2 days to figure out why my items were invisible...

@Enet4
Copy link
Contributor

Enet4 commented Jun 11, 2015

Thanks for reporting. I honestly hadn't tested multiple inventories with Open Notrium.
There's more than one place where the active inventory number is modified, at least here and there. We should seriously start encapsulating these into a single setActiveInventory, hopefully becoming a member function later on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants